dash-extensions icon indicating copy to clipboard operation
dash-extensions copied to clipboard

Feature request: Add type hints/stubs to support static type checkers like mypy

Open KnightArthurRen opened this issue 7 months ago • 1 comments

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

KnightArthurRen avatar May 05 '25 23:05 KnightArthurRen

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?

emilhe avatar Aug 06 '25 08:08 emilhe