Review User API Type Hints
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 30/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- python
研究方向
Start by reviewing the public APIs named in the issue, especially reactpy.component and use_state, and reproduce the reported Pylance type-hint errors. Determine the intended accepted inputs and return types for each case. Done means the affected annotations match the supported API behavior and the reported type-checking errors are resolved.
由索引模型根據 Issue 內容生成。
描述
Current Situation
ReactPy can generate type hinting errors generated (from Pylance).
For example, the fact that reactpy.component can ingest a ComponentType, but can only return a Component. Or the fact that use_state can be set to None initially and changed later.
Proposed Actions
Review user API type hints and fix where needed.
- 主要語言
- Python
- 星號
- 8.1k
- 分支
- 332
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
reactive-python/reactpy 的其他 Issue
-
priority-3-low type-docs
難度 2/5 1-3 小時 新手友好度 65/100
reactive-python/reactpy#1034 ·
-
priority-2-moderate type-revision
難度 5/5 一週以上 新手友好度 25/100
reactive-python/reactpy#1319 ·
-
priority-1-high
難度 5/5 一週以上 新手友好度 25/100
reactive-python/reactpy#1277 ·
-
priority-3-low
難度 5/5 一週以上 新手友好度 35/100
reactive-python/reactpy#1273 · 1 個 reaction ·
-
priority-2-moderate
難度 5/5 一週以上 新手友好度 30/100
reactive-python/reactpy#1272 · 2 個 reaction ·
查看 reactive-python/reactpy 的全部 Issue
相似的 Issue
-
triage/confirmed
難度 2/5 1-3 小時 新手友好度 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
難度 1/5 1 小時以內 新手友好度 92/100
NousResearch/hermes-agent#118866 ·
-
bug
難度 1/5 1 小時以內 新手友好度 90/100
apache/cloudstack#14222 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
-
bug
難度 2/5 1-3 小時 新手友好度 82/100