coco_pipe.report.config#
Pydantic schemas for report configuration and provenance metadata.
Classes#
Runtime provenance attached to generated reports. |
|
User-facing configuration attached to a report. |
Module Contents#
- class coco_pipe.report.config.ProvenanceConfig(/, **data)#
Bases:
pydantic.BaseModelRuntime provenance attached to generated reports.
- Parameters:
data (Any)
- classmethod from_env(source='Unknown', **kwargs)#
Build a ProvenanceConfig by capturing the current runtime environment.
- Parameters:
source (str) – Description of the data source.
**kwargs (Any) – Additional metadata to override or append to the environment info.
- Returns:
A new instance populated with runtime metrics.
- Return type:
- class coco_pipe.report.config.ReportConfig(/, **data)#
Bases:
pydantic.BaseModelUser-facing configuration attached to a report.
- Parameters:
data (Any)
- provenance: ProvenanceConfig = None#