You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried to update to dash 3.0rc1, and what I noticed is that some typehints are too strict. What I found:
ids are typed as typing.Optional[str], omitting dict ids
dates in datepickers are typed as typing.Optional[str], but we use datetime.dates without problem, not sure if dates working is intended or just a coincidence though
There are possibly others, this is what I found in our codebase.
The text was updated successfully, but these errors were encountered:
T4rk1n
changed the title
[BUG] Dash 3.0rc1 too strict typehints
[BUG] Dash 3.0rc1, component typing id as dict and datetime for Date pickers
Feb 6, 2025
Hi, I tried to update to dash 3.0rc1, and what I noticed is that some typehints are too strict. What I found:
id
s are typed astyping.Optional[str]
, omitting dict idstyping.Optional[str]
, but we usedatetime.date
s without problem, not sure ifdate
s working is intended or just a coincidence thoughThere are possibly others, this is what I found in our codebase.
The text was updated successfully, but these errors were encountered: