nat.front_ends.fastapi.routes.static#

Static file route registration.

Attributes#

Functions#

add_static_files_route(worker, app, builder)

Add static file CRUD routes when object-store support is configured.

Module Contents#

logger#
async add_static_files_route(
worker: nat.front_ends.fastapi.fastapi_front_end_plugin_worker.FastApiFrontEndPluginWorker,
app: fastapi.FastAPI,
builder: nat.builder.workflow_builder.WorkflowBuilder,
)#

Add static file CRUD routes when object-store support is configured.