Opened 3 years ago
Last modified 3 years ago
#34347 closed Cleanup/optimization
Mypy complaint: module "django.contrib.gis.utils" does not explicitly export attribute "LayerMapping" — at Initial Version
| Reported by: | Søren Howe Gersager | Owned by: | nobody |
|---|---|---|---|
| Component: | GIS | Version: | 4.1 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Mypy complains that:
module "django.contrib.gis.utils" does not explicitly export attribute "LayerMapping"
Since the documentation uses that import path, for example: https://docs.djangoproject.com/en/4.1/ref/contrib/gis/layermapping/
I guess django.contrib.gis.utils.__init__ should contain __all__?
Note:
See TracTickets
for help on using tickets.