[BUG] dcc.Input types don't support time and datetime-local
まだ誰も着手していません。
評価
調査の方向性
dcc.Input コンポーネントの型宣言から始め、受け入れられる値を issue にある有効な time と datetime-local の例と比較します。型チェックの警告なしで両方の値が受け入れられるように宣言を更新し、その後、プロジェクトに関連するチェックで例を検証します。
索引モデルが issue の本文から書いたものです。
説明
dash 3.2.0
dash_ag_grid 31.3.1
dash-bootstrap-components 2.0.3
dash_daq 0.6.0
Describe the bug
When creating a valid dcc.Input like this:
dcc.Input(id=id_, type='time', step=1, value='00:00:00')
I get a warning in Pycharm: Expected type 'Literal["text", "number", "password", "email", "range", "search", "tel", "url", "hidden"] | None', got 'Literal['time']' instead
Expected behavior
There should be no warning.
The same goes for type='datetime-local'.
- 主要言語
- Python
- スター
- 24.4k
- フォーク
- 2.3k
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 19
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plotly/dash のほかの issue
-
good first issue P3 size: 1 task
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
enhancement P2 size: 5
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
-
enhancement P3 size: 10+
-
P2 size: 1 task
-
enhancement P3 size: 1
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
似ている issue
-
essnmx good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
[Feature] 奇物选择添加优先级 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
syfoud/Simulated_Scepter#174 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Giskard-AI/giskard-oss#2840 · コメント 1 件 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success オープンarea: repo bug perceived difficulty: 2
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
yeti-platform/yeti#1380 ·