graflo.hq.ingestion_parameters¶
Ingestion parameters and per-document cast-failure models for the caster.
This module exists to keep graflo/hq/caster.py focused on casting logic, while
keeping ingestion-policy types stable and importable.
CastBatchResult
¶
Bases: BaseModel
Outcome of casting a batch through a resource (possibly with skipped documents).
Source code in graflo/hq/ingestion_parameters.py
DocCastFailure
¶
Bases: BaseModel
Structured record for one source document that failed during resource casting.
Source code in graflo/hq/ingestion_parameters.py
DocErrorBudgetExceeded
¶
Bases: RuntimeError
Raised when total document cast failures exceed IngestionParams.max_doc_errors.
Source code in graflo/hq/ingestion_parameters.py
IngestionParams
¶
Bases: BaseModel
Parameters for controlling the ingestion process.
max_items caps how many source items (rows, JSON objects, grouped
RDF subjects, …) are read per resource run. It maps to
AbstractDataSource.iter_batches(..., limit=...). batch_size is only
the maximum number of items per yielded batch, not a cap on total volume.