We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Incompatible type for lookup 'crop': (got "Union[Crop, OuterRef]", expected "Union[Crop, int, None]")
I would like to be able to use a function with both a Crop instance and an OuterRef("crop").
Crop
OuterRef("crop")
python
django
mypy
django-stubs
django-stubs-ext
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
What's wrong
How is that should be
I would like to be able to use a function with both a
Crop
instance and anOuterRef("crop")
.System information
python
version: 3.9django
version: 4.0mypy
version: 0.931django-stubs
version: 1.8.0django-stubs-ext
version: 0.3.1The text was updated successfully, but these errors were encountered: