Opened 21 months ago
Closed 21 months ago
#34347 closed Cleanup/optimization (fixed)
Mypy complaint: module "django.contrib.gis.utils" does not explicitly export attribute "LayerMapping"
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 (last modified by )
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__?
Change History (4)
comment:1 by , 21 months ago
Description: | modified (diff) |
---|---|
Has patch: | set |
Version 0, edited 21 months ago by (next)
comment:2 by , 21 months ago
Component: | Uncategorized → GIS |
---|---|
Patch needs improvement: | set |
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Cleanup/optimization |
comment:3 by , 21 months ago
Patch needs improvement: | unset |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.