src/dazzle_back/graphql/adapters/base.py¶
Generated: 2026-03-30T04:38:46.285075+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Base external API adapter interface.
Provides a unified interface for wrapping external REST APIs (HMRC, banks, accounting platforms, etc.) for use in the GraphQL BFF layer.
The adapter pattern handles: - Authentication (OAuth, API keys, etc.) - Rate limiting and throttling - Retry logic with expo...
Key Exports¶
RetryConfigRateLimitConfigAdapterConfigAdapterResponsePaginatedResponseAdapterErrorApiErrorAuthenticationErrorRateLimitErrorTimeoutErrorValidationErrorAdapterResultStatusAdapterResultBaseExternalAdapteris_successis_errordataerrorresponsesuccess
Dependencies¶
Imports¶
__future__.annotationsasynciobuiltinsloggingtimeabc.ABCabc.abstractmethoddataclasses.dataclassdataclasses.fieldenum.Enumtyping.TYPE_CHECKINGtyping.Anytyping.Generictyping.TypeVarcollections.abc.Callabledazzle_back.graphql.context.GraphQLContextimportlib.utilhttpxaiohttpjson
Event Interactions¶
None detected.
Invariants and Assumptions¶
- Validates: No data available - operation failed
- Validates: No error - operation succeeded
Tests¶
tests/unit/sentinel/test_base_agent.pytests/unit/test_ux_baseline.pytests/unit/test_ops_database_pg.pytests/unit/test_manifest_database.pytests/unit/test_property_based.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.