crowdin / crowdin/crowdin-api-client-python
source_files.update_file is not accepting 'importTranslations': True
- Dominant language
- Python
- Stars
- 69
- Forks
- 39
- Avg merge
- 23h 35m
- Merged PRs (30d)
- 8
Description
I'm using the method `source_files.update_file` with a custom importOptions object.
I inputted `'importTranslations': True`, but the API is returning `'importTranslations': False`
See the screenshot below.
On the other side, for the `source_files.add_file` method, it works correctly.
I need `source_files.update_file` to accept '`importTranslations': True`
Contributor guide
Research direction
Start by comparing the source_files.update_file and source_files.add_file implementations, focusing on how each handles the custom importOptions object and importTranslations value. Confirm the behavior with the existing tests or API client test setup; done means update_file sends and preserves importTranslations=True as add_file does.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100