[Bug] Converter returns bad value converting `dict[None, Any]`

未關閉
#1,237 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

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

研究方向

從 test_converter.py 中失敗的案例開始:ok(dict[None, str], {'null': "1"})。重現目前的結果,並檢查 converter 對這個型別的行為。當就 dict[None, str] 的預期回傳物件達成共識,且測試以該結果通過時,此 issue 即完成。

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

描述

bug
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
主要語言
Python
星號
1.2k
分支
241
平均合併
3 天 2 小時
30 天內合併 PR
49

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

temporalio/sdk-python 的其他 Issue

查看 temporalio/sdk-python 的全部 Issue

相似的 Issue

更多 Python Issue

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

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