Skip to content

src/dazzle_back/runtime/file_routes.py

Generated: 2026-03-30T04:38:47.204216+00:00

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

File upload routes for DNR Backend.

Provides REST endpoints for file upload, download, and management.

Key Exports

  • _FileDeps
  • create_file_routes
  • create_static_file_routes
  • upload_file
  • get_thumbnail
  • get_entity_files

Dependencies

Imports

  • logging
  • collections.abc.Awaitable
  • collections.abc.Callable
  • dataclasses.dataclass
  • dataclasses.field
  • functools.partial
  • typing.Any
  • uuid.UUID
  • fastapi.FastAPI
  • file_storage.FileService
  • file_storage.FileValidationError
  • fastapi.HTTPException
  • image_processor.ThumbnailService
  • fastapi.HTTPException
  • fastapi.HTTPException
  • fastapi.responses.Response
  • fastapi.HTTPException
  • fastapi.responses.StreamingResponse
  • fastapi.HTTPException
  • fastapi.responses.Response

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/integration/test_runtime_e2e.py
  • tests/integration/test_runtime_pipeline.py
  • tests/unit/test_runtime_test_routes.py
  • tests/unit/test_runtime_services.py
  • tests/unit/test_runtime_mcp_tools.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.