elixir-cloud-aai / foca

Opinionated Flask microservice archetype for quick OpenAPI-based microservice development
Apache License 2.0
16 stars 12 forks source link

chore: replace collection type hints with generics #231

Open uniqueg opened 6 months ago

uniqueg commented 6 months ago

Use type hint generics dict and list instead of typing.Dict and typing.List etc. across the entire codebase, as this is supported from Python 3.9 onwards; see PEP 585 for details.

Also check if any other changes introduced in Python 3.9 can be usefully applied to the codebase.