crowdin / crowdin/crowdin-api-client-python

source_files.update_file is not accepting 'importTranslations': True

未關閉
#246 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
API bug
主要語言
Python
星號
69
分支
39
平均合併
23 小時 35 分鐘
30 天內合併 PR
8

描述

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.
Image

On the other side, for the `source_files.add_file` method, it works correctly.

I need `source_files.update_file` to accept '`importTranslations': True`

貢獻指南

開啟貢獻指南

研究方向

首先比較 source_files.update_file 與 source_files.add_file 的實作,重點關注兩者各自如何處理自訂的 importOptions 物件與 importTranslations 值。使用現有測試或 API client 測試設定確認其行為;當 update_file 如同 add_file 一樣傳送並保留 importTranslations=True 時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
api
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。