temporalio / temporalio/sdk-python
[Bug] Converter returns bad value converting `dict[None, Any]`
未关闭
还没有人认领这个 Issue。
bug
- 主要语言
- Python
- 星标
- 1.2k
- 派生
- 241
- 平均合并
- 3 天 21 小时
- 30 天内合并 PR
- 55
描述
What are you really trying to do?
I don't know why this would be a thing.
Describe the bug
In test_converter.py,
ok(dict[None, str], {'null': "1"}) passes, but that doesn't really seem like the correct return object.
Minimal Reproduction
Environment/Versions
- OS and processor: [e.g. M1 Mac, x86 Windows, Linux]
- Temporal Version: [e.g. 1.14.0?] and/or SDK version
- Are you using Docker or Kubernetes or building Temporal from source?
Additional context
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 test_converter.py 中失败的用例开始:ok(dict[None, str], {'null': "1"})。重现当前结果,并检查 converter 针对这种类型的行为。当就 dict[None, str] 的预期返回对象达成一致,并且测试以该结果通过时,此 issue 即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100