Skip to content

component typing id as dict and datetime for Date pickers in Dash 3.0rc1 #3141

Open
@tlauli

Description

@tlauli

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.

Metadata

Metadata

Assignees

Labels

P1needed for current cycledash-3.0Going in dash-3.0 release.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions