geoalchemy / geoalchemy2

Geospatial extension to SQLAlchemy
http://geoalchemy-2.readthedocs.org
MIT License
637 stars 112 forks source link

Add type annotations #463

Closed adrien-berchet closed 1 year ago

adrien-berchet commented 1 year ago

As pointed out in #462 , type annotations can help to detect bugs early so it would be nice to add some of them in GeoAlchemy2, especially in the constructors of the main classes (Geometry, Geography, Raster, WKTElement, WKBElement, etc.).