Python API reference¶
Reference for the backend package app, generated from the
docstrings.
There is one page per module.
Narrative pages link here with :mod: rather than repeating what the
docstrings say.
Top-level modules¶
Application wiring, configuration and cross-cutting helpers. Everything that is not part of a package below lives here.
Authentication¶
Bearer-token validation, the dev-token path, push tokens and the role-based permission rules.
Domain¶
The pure domain core: record parsing, validation, hashing and the approval rules. It does no I/O.
Routers¶
The HTTP layer. Each module owns one group of routes and delegates to services.
Schemas¶
Pydantic request and response models of the HTTP API.
Services¶
Business orchestration over the domain, the source ports and the storage port.
app.servicesapp.services.approval_viewapp.services.decisionsapp.services.dev_rolesapp.services.diffapp.services.errata_viewapp.services.ingestapp.services.intakeapp.services.intake_checksapp.services.poll_planapp.services.poll_triggerapp.services.pollingapp.services.record_detailapp.services.record_relationshipsapp.services.registrationsapp.services.searchapp.services.seed_syntheticapp.services.seed_synthetic_errataapp.services.seed_synthetic_genapp.services.seed_synthetic_textapp.services.sources_view
Sources¶
The provider-neutral source port and its filesystem and GitLab adapters.
Storage¶
The storage port and its PostgreSQL implementation.
app.storageapp.storage.errata_valuesapp.storage.portapp.storage.postgresapp.storage.postgres.convertapp.storage.postgres.errataapp.storage.postgres.eventsapp.storage.postgres.migrationsapp.storage.postgres.modelsapp.storage.postgres.recordsapp.storage.postgres.registrationsapp.storage.postgres.searchapp.storage.postgres.storeapp.storage.values