Technical Documentation

Core

Submodules

app.gunicorn_conf module

app.main module

app.main.custom_openapi()[source]

Customizes the OpenAPI schema for the FastAPI application.

Returns:

The customized OpenAPI schema.

Return type:

dict

app.main.get_git_commit_hash() str[source]

Returns the current git commit hash, or “unknown” if not available.

Returns:

The current git commit hash, or “unknown” if not available.

Return type:

str

app.main.get_project_data()[source]

Retrieves project data from the pyproject.toml file.

Returns:

Project data from the toml file.

Return type:

dict

Module contents