Skip to content

Commit

Permalink
Adds commenting, documentation for get_dubbing_status
Browse files Browse the repository at this point in the history
  • Loading branch information
cr2007 committed Jul 8, 2024
1 parent 9866913 commit 0c11d3c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cambai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,19 @@ def start_dubbing(


def get_dubbing_status(self, /, task_id: str) -> TaskStatus:
"""
Retrieve the status of a dubbing task.
This method queries the status of a dubbing task by its unique task ID.
Parameters:
- `task_id` (str): The unique identifier for the dubbing task.
Returns:
- TaskStatus: The current status of the dubbing task.
"""

# Call the generic get_task_status method with "dubbing" as the task type
return self.get_task_status("dubbing", task_id)


Expand Down

0 comments on commit 0c11d3c

Please sign in to comment.