-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Enhancement: register_fixture return type should be properly type-hinted #579
Comments
Sounds good to me! PRs would be appreciated :) |
Shouldn't it be better to use the pattern suggested by pytest docs instead of using the |
giulioindev
added a commit
to giulioindev/polyfactory
that referenced
this issue
Aug 20, 2024
giulioindev
added a commit
to giulioindev/polyfactory
that referenced
this issue
Aug 20, 2024
giulioindev
added a commit
to giulioindev/polyfactory
that referenced
this issue
Aug 20, 2024
guacs
pushed a commit
that referenced
this issue
Aug 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current return type of the register_fixture function is Any, shouldn't be better using a TypeVar in order get a proper type hint?
Note
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard
The text was updated successfully, but these errors were encountered: