-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
provide typing.Protocol
for dash_duo
#2170
Comments
Seems reasonable, @T4rk1n you've worked on typing for |
You would have to annotate every single use of |
Pycharm pick it up by default, not a vscode user so I don't know about it, but seems like the plugin would work? |
I made a rough start over here if you want to pick up from that. Or maybe |
Hi this sounds interesting. Happy to pick it up with some guidance. Thanks. |
typing.Protocol
for dash_duo
typing.Protocol
for dash_duo
Is your feature request related to a problem? Please describe.
The DX for using the
pytest
fixturedash.testing.plugin.dash_duo()
could be improved by providing atyping.Protocol
to type hint available methods and their signatures.Describe the solution you'd like
Screenshot from VS Code showing auto-complete in action
Describe alternatives you've considered
None
The text was updated successfully, but these errors were encountered: