api.routes.internal.catalog.deps

Functions

get_catalog_sync() → api.services.catalog_sync.CatalogSync

FastAPI dependency; overridden in tests.

refused(error) → fastapi.HTTPException

A refusal the app shows as-is: 409 with a stable code.

get_airtable_gateway() → api.services.catalog_sync.AirtableGateway

FastAPI dependency for read/update routes outside CatalogSync.

get_attachment_gateway() → api.services.catalog_sync.AttachmentGateway

Like get_airtable_gateway, plus file uploads (content API).

Module Contents

api.routes.internal.catalog.deps.get_catalog_sync() → api.services.catalog_sync.CatalogSync

FastAPI dependency; overridden in tests.

api.routes.internal.catalog.deps.refused(error: api.services.catalog_sync.CatalogSyncError) → fastapi.HTTPException

A refusal the app shows as-is: 409 with a stable code.

api.routes.internal.catalog.deps.get_airtable_gateway() → api.services.catalog_sync.AirtableGateway

FastAPI dependency for read/update routes outside CatalogSync.

api.routes.internal.catalog.deps.get_attachment_gateway() → api.services.catalog_sync.AttachmentGateway

Like get_airtable_gateway, plus file uploads (content API).