graflo.connections¶
Connection configuration and runtime credential resolution.
This package is the single home for how to reach things:
- :mod:
graflo.connections.onto— target-DB config models (DBConfigand per-backend subclasses). Pure pydantic; importable without any DB driver. - :mod:
graflo.connections.graflo_backend— config for the on-disk GraFlo backend. - :mod:
graflo.connections.mapping—DBType→ config-class mapping. - :mod:
graflo.connections.sources— runtime source connection models (REST API, Kafka, files on a local disk or S3) andConnConfig, the union aconn_proxylabel resolves to. - :mod:
graflo.connections.kinds— every connection as one union discriminated bykind,parse_connectionand the roles each kind plays. - :mod:
graflo.connections.env— theconn_proxy→{PREFIX}<FIELD>environment-variable rule. - :mod:
graflo.connections.provider—ConnectionProviderprotocol resolvingconn_proxylabels to runtime configs (keeps YAML manifests secret-free).
Layering: onto / graflo_backend / mapping / sources sit below
graflo.architecture.contract (bindings reference PostgresConfig);
provider sits above it (it resolves contract connectors). The façade is
lazy so importing one side never drags in the other.
Modules:
| Name | Description |
|---|---|
bulk |
Tuning of a bulk load, carried on a database config as |
env |
Where connection settings come from outside a config file. |
graflo_backend |
Configuration for GraFlo file backend connections. |
kinds |
Every kind of connection as one typed union, and the roles each kind plays. |
mapping |
|
onto |
|
provider |
Runtime resolution of |
sources |
Pydantic models for runtime source connection configuration. |