dash-extensions
dash-extensions copied to clipboard
Feature request: Add type hints/stubs to support static type checkers like mypy
Hi guys
First of all love the product and it works great!
This is probably a low priority for the team but is type hints or a stubs library something on the roadmap? My team use mypy extensively and if we use @callback from dash_extensions.enrich over dash's native @callbackwe'd lose mypy's type validation with an error: Untyped decorator makes function xxxx untyped.
Thank you for the hustle!
Cheers
Arthur
Thanks for the suggestion @KnightArthurRen . I have made a pre-release that aims to address the issue,
https://pypi.org/project/dash-extensions/2.0.5rc1/
Could you test if it solves you issues you were facing?