plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.
https://plotly.com/dash
MIT License
21.15k stars 2.04k forks source link

Wrong typing on Dash init #2539

Open T4rk1n opened 1 year ago

T4rk1n commented 1 year ago

Types in the docstring or init of the Dash class should be valid types for the checker.

Right now it has boolean instead of bool, string instead of str and an amalgation of types with or when it should be union.

nickmelnikov82 commented 1 year ago

Good afternoon. A possible solution to this problem is described in the article. Please pay attention to this article and write if it helped you