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

Minor Typing Improvement for FilterSchema #1039

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

max-muoto
Copy link
Contributor

@max-muoto max-muoto commented Jan 7, 2024

This PR makes a minor typing improving to the filter method in FilterSchema

Right now, typing information for the queryset's model is lost since we return an arbitrary queryset. This PR uses a generic parameter to ensure typing information is not lost.

@vitalik vitalik merged commit 5a7c7cd into vitalik:master Jan 7, 2024
27 checks passed
@vitalik
Copy link
Owner

vitalik commented Jan 7, 2024

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants