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 摘要。