Add HTTP Bearer to OpenAPI security schema.
Import debugpy at module level on setup_debugger import. Don't check for DEBUG environment variable when setting up.
Pydantic 2.x support. Drops Pydantic 1.x support, use 0.1.x for Pydantic 1.x. See https://docs.pydantic.dev/latest/migration/
BadRequest
is a subclass of Exception
instead of ValidationError
/ ValueError
.
oauth2.OAuth2Settings
is split into two new objects: TokenVerifierSettings
and
OAuth2SPAClientSettings
. The associated call signature of Service
was changed.
Various import fixes.
Avoid inject==5.* because of its incompatibility with VS Code (pylance / pyright).
Initial project structure created with cookiecutter and cookiecutter-python-template.
Ported base functions from internal raster-service project.