diff --git a/crowdin_api/api_resources/source_strings/resource.py b/crowdin_api/api_resources/source_strings/resource.py index 282e887..4222513 100644 --- a/crowdin_api/api_resources/source_strings/resource.py +++ b/crowdin_api/api_resources/source_strings/resource.py @@ -37,6 +37,7 @@ def list_strings( branchId: Optional[int] = None, denormalizePlaceholders: Optional[DenormalizePlaceholders] = None, labelIds: Optional[Iterable[int]] = None, + taskId: Optional[int] = None, croql: Optional[str] = None, filter: Optional[str] = None, scope: Optional[ScopeFilter] = None, @@ -57,6 +58,7 @@ def list_strings( "fileId": fileId, "denormalizePlaceholders": denormalizePlaceholders, "labelIds": None if labelIds is None else ",".join(str(item) for item in labelIds), + "taskId": taskId, "filter": filter, "croql": croql, "scope": scope, diff --git a/crowdin_api/api_resources/source_strings/tests/test_source_strings_resources.py b/crowdin_api/api_resources/source_strings/tests/test_source_strings_resources.py index 8960d32..247d96e 100644 --- a/crowdin_api/api_resources/source_strings/tests/test_source_strings_resources.py +++ b/crowdin_api/api_resources/source_strings/tests/test_source_strings_resources.py @@ -51,6 +51,7 @@ def test_get_source_strings_path(self, in_params, path, base_absolut_url): "filter": None, "scope": None, "branchId": None, + "taskId": None, }, ), ( @@ -64,6 +65,7 @@ def test_get_source_strings_path(self, in_params, path, base_absolut_url): "filter": "some", "scope": ScopeFilter.CONTEXT, "branchId": 2, + "taskId": 5, }, { "offset": 0, @@ -75,6 +77,7 @@ def test_get_source_strings_path(self, in_params, path, base_absolut_url): "filter": "some", "scope": ScopeFilter.CONTEXT, "branchId": 2, + "taskId": 5, }, ), ),