Skip to content

Commit

Permalink
Adds keyword-only argument for get_languages method
Browse files Browse the repository at this point in the history
  • Loading branch information
cr2007 committed Jul 10, 2024
1 parent 3199f34 commit 5356927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cambai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def __create_api_endpoint(self, /, endpoint: str) -> str:


def get_languages(
self, /, language_type: Literal["source", "target"], write_to_file: bool = False
self, /, language_type: Literal["source", "target"], *, write_to_file: bool = False
) -> list[LanguageOptionsDict]:
"""
Fetches the available languages from the API based on the language type.
Expand Down

0 comments on commit 5356927

Please sign in to comment.