Skip to content

Commit 2e1da24

Browse files
committed
fix: remove unnecessary documentation and return type annotation
1 parent ea3fd6d commit 2e1da24

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

crowdin_api/api_resources/translations/resource.py

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -327,34 +327,10 @@ def upload_translation(
327327
autoApproveImported: Optional[bool] = None,
328328
translateHidden: Optional[bool] = None,
329329
addToTm: Optional[bool] = None,
330-
) -> dict:
330+
):
331331
"""
332332
Upload Translations.
333333
334-
Parameters
335-
----------
336-
languageId: str
337-
Language ID.
338-
storageId: int
339-
Storage ID.
340-
fileId: int
341-
File ID for import.
342-
projectId: Optional[int]
343-
Project ID.
344-
importEqSuggestions: Optional[bool]
345-
Define whether to add equal translations.
346-
autoApproveImported: Optional[bool]
347-
Mark uploaded translations as approved.
348-
translateHidden: Optional[bool]
349-
Allow translations upload to hidden source strings.
350-
addToTm: Optional[bool]
351-
Define whether to add translation to TM. Default: true
352-
353-
Returns
354-
-------
355-
dict
356-
Upload Translation response from the API
357-
358334
Link to documentation:
359335
https://developer.crowdin.com/api/v2/#operation/api.projects.translations.postOnLanguage
360336
"""

0 commit comments

Comments
 (0)