-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
get_dynamic_class_hook() not invoked on generic types #8359
Labels
topic-plugins
The plugin API and ideas for new plugins
Comments
I'd be happy to review a PR if you send one! |
@sobolevn Seems that what I also discovered here typeddjango/django-stubs#1683 (comment) is already reported |
2 tasks
@flaeppe do you want to contribute? :) |
Yeah, sure, I'll have a look as soon as I get some time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Django, there's a method called
as_manager()
onQuerySet
https://docs.djangoproject.com/en/3.0/ref/models/querysets/#django.db.models.query.QuerySet.as_manager
which returns an instance of a dynamically created manager with callee
QuerySet
method copied insideI'd like to be able to call it like with generic parameters
Now, because of clause
get_dynamic_class_hook()
never called.callee_expr
isTypeApplication
here, notRefExpr
.The text was updated successfully, but these errors were encountered: