Skip to content

Commit

Permalink
Fixes Pylint errors W0311 and C0301
Browse files Browse the repository at this point in the history
* Bad indentation
* Line too long
  • Loading branch information
cr2007 committed Sep 6, 2024
1 parent 3cb4953 commit f70d30e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions cambai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,16 @@ class VoiceProperties(TypedDict):


class TaskInfo(TypedDict):
"""
Represents the object returned from a task creation.
"""
Represents the object returned from a task creation.
Attributes:
- task_id (str): The unique identifier for the task.
- run_id (Optional[int]): The optional run identifier for the task.
"""
Attributes:
- task_id (str): The unique identifier for the task.
- run_id (Optional[int]): The optional run identifier for the task.
"""

task_id: str
run_id: Optional[int]
task_id: str
run_id: Optional[int]


class TaskStatus(TypedDict):
Expand Down Expand Up @@ -1499,8 +1499,8 @@ def translate(
the Gender Enum.
- `polling_interval` (float, optional): The interval in seconds to wait before polling
the task status again. Defaults to 10.
- `save_to_file` (bool, optional): Flag to save the translation output as a file. Defaults to
False.
- `save_to_file` (bool, optional): Flag to save the translation output as a file.
Defaults to False.
- `debug` (bool, optional): Enables detailed logging if set to True. Defaults to False.
Raises:
Expand Down

0 comments on commit f70d30e

Please sign in to comment.