From 535692713ebea277dd0433818d7cdc33f5f8183b Mon Sep 17 00:00:00 2001 From: Chandrashekhar R <73425927+cr2007@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:18:49 +0400 Subject: [PATCH] Adds keyword-only argument for `get_languages` method --- cambai/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cambai/__init__.py b/cambai/__init__.py index 8ef8dc4..ece4cbb 100644 --- a/cambai/__init__.py +++ b/cambai/__init__.py @@ -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.