Open Linkid opened 4 months ago
RelatedField subclasses can avoid dealing with data type and model type TypeVars override, as they are not specific.
RelatedField
TypeVar
This should fix the "Need type annotation for" that mypy raises for all related field subclasses.
Ref #168
Hello. I've forgotten some methods. This should be fixed in the latest commit.
I have made things!
RelatedField
subclasses can avoid dealing with data type and model typeTypeVar
s override, as they are not specific.This should fix the "Need type annotation for" that mypy raises for all related field subclasses.
Related issues
Ref #168