api.routes.internal.catalog.deps ================================ .. py:module:: api.routes.internal.catalog.deps Functions --------- .. autoapisummary:: api.routes.internal.catalog.deps.get_catalog_sync api.routes.internal.catalog.deps.refused api.routes.internal.catalog.deps.get_airtable_gateway api.routes.internal.catalog.deps.get_attachment_gateway Module Contents --------------- .. py:function:: get_catalog_sync() -> api.services.catalog_sync.CatalogSync FastAPI dependency; overridden in tests. .. py:function:: refused(error: api.services.catalog_sync.CatalogSyncError) -> fastapi.HTTPException A refusal the app shows as-is: 409 with a stable ``code``. .. py:function:: get_airtable_gateway() -> api.services.catalog_sync.AirtableGateway FastAPI dependency for read/update routes outside CatalogSync. .. py:function:: get_attachment_gateway() -> api.services.catalog_sync.AttachmentGateway Like get_airtable_gateway, plus file uploads (content API).