mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-11-05 03:52:49 +08:00
Support mypy 0.750
This commit is contained in:
1 parent
df4c17a947
commit
cbc7159995
13 files changed
+43
-29
No files matched your search
@@ -29,7 +29,7 @@ def _get_current_field_from_assignment(ctx: FunctionContext, django_context: Dja
|
||||
if field_name is None:
|
||||
return None
|
||||
|
||||
model_cls = django_context.get_model_class_by_fullname(outer_model_info.fullname())
|
||||
model_cls = django_context.get_model_class_by_fullname(outer_model_info.fullname)
|
||||
if model_cls is None:
|
||||
return None
|
||||
|
||||
|
||||
Reference in new issue
Block a user