Skip to content
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

Dynamically change the output type annotation of [X]Generator.__call__ to match the output type requested by the user #1424

Open
rlouf opened this issue Feb 17, 2025 · 0 comments
Labels
impact/user interface Related to improving the user interface
Milestone

Comments

@rlouf
Copy link
Member

rlouf commented Feb 17, 2025

Tangentially related, this makes me think that we need to make the output type of [X]Generator.__call__ match the output type specified by the user so mypy can look for type errors in a user's code.

Originally posted by @rlouf in #1420

@rlouf rlouf added this to the 1.0 milestone Feb 17, 2025
@rlouf rlouf added impact/user interface Related to improving the user interface labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/user interface Related to improving the user interface
Projects
None yet
Development

No branches or pull requests

1 participant