src/dazzle_back/runtime/_fastapi_compat.py¶
Generated: 2026-03-30T04:38:46.664214+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
FastAPI optional-import compatibility shim.
All FastAPI symbols used across dazzle_back.runtime are imported here in a
single try/except block. Every other module imports from here instead of
repeating the guard locally.
When FastAPI is not installed every symbol is set to None so that
``...
Key Exports¶
No public exports detected.
Dependencies¶
Imports¶
typing.TYPE_CHECKINGfastapi.APIRouterfastapi.Cookiefastapi.Dependsfastapi.HTTPExceptionfastapi.Queryfastapi.Requestfastapi.Responsefastapi.FastAPIfastapi.Requestfastapi.middleware.cors.CORSMiddlewarefastapi.responses.HTMLResponsefastapi.responses.JSONResponsefastapi.responses.RedirectResponsestarlette.responses.Responsefastapi.APIRouterfastapi.Cookiefastapi.Dependsfastapi.HTTPExceptionfastapi.Query
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.pytests/unit/test_runtime_mcp_tools.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.