workflow-manager.app.main#

Workflow manager main.

Attributes#

Functions#

startup(→ None)

Call database initialization of startup.

shutdown(→ None)

Shutdown event for the API.

readiness(→ dict)

Readiness health endpoint.

Module Contents#

workflow-manager.app.main.app#
workflow-manager.app.main.ORIGINS = ['http://localhost:8080', 'https://localhost:8443']#
async workflow-manager.app.main.startup() None#

Call database initialization of startup.

async workflow-manager.app.main.shutdown() None#

Shutdown event for the API.

async workflow-manager.app.main.readiness() dict#

Readiness health endpoint.

Inspects sqlalchemy engine and check if workflow table exists.

Returns#

Status docstring

Raises#

HTTPException

500: Workflow table does not exist