Skip to content

shapely: narrower types for geom_type in BaseGeometry subclasses#15955

Open
hamdanal wants to merge 1 commit into
python:mainfrom
hamdanal:shapely-geom_type
Open

shapely: narrower types for geom_type in BaseGeometry subclasses#15955
hamdanal wants to merge 1 commit into
python:mainfrom
hamdanal:shapely-geom_type

Conversation

@hamdanal

Copy link
Copy Markdown
Contributor

This allows better narrowing for if obj.geom_type == ... checks

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant