trust_api.main

Attributes

_docs_enabled

app

Functions

lifespan(→ collections.abc.AsyncGenerator[None, None])

Start the task poller background service.

Module Contents

async trust_api.main.lifespan(app: fastapi.FastAPI) collections.abc.AsyncGenerator[None, None]

Start the task poller background service.

Parameters:

app (FastAPI) – The FastAPI application instance being started.

trust_api.main._docs_enabled = True
trust_api.main.app