developmentseed / eoAPI

[Active Development] Earth Observation API (Metadata, Raster and Vector services)
https://eoapi.dev
MIT License
191 stars 20 forks source link

update typing information for python 3.9 #175

Closed vincentsarago closed 6 months ago

vincentsarago commented 6 months ago

Well I'm still running python 3.9 🙉

emileten commented 6 months ago

Actually before merging, should we change the title of this PR @vincentsarago ?

I don't see anything related to the python version set up. Just browser related configuration changes.

vincentsarago commented 6 months ago

I don't think you can do stac_browser_github_tag: None | str = "v3.1.0" with python 3.9

we could add from __future__ import annotations to make this compatible with earlier python version though

https://stackoverflow.com/questions/69440494/python-3-10-optionaltype-or-type-none