Module core.metadata.metadata_wrapper¶
Classes¶
ZenMLMetadataStore()
:
### Class variables
`RUN_TYPE_PROPERTY_NAME`
:
`STORE_TYPE`
:
### Static methods
`from_config(config: Dict)`
: Converts ZenML config to ZenML Metadata Store.
Args:
config (dict): ZenML config block for metadata.
### Instance variables
`store`
:
### Methods
`get_artifacts_by_component(self, pipeline, component_name: str)`
: Args:
pipeline (BasePipeline): a ZenML pipeline object
component_name:
`get_artifacts_by_execution(self, execution_id)`
: Args:
execution_id:
`get_component_execution(self, pipeline, component_name: str)`
:
`get_components_status(self, pipeline)`
: Returns status of components in pipeline.
Args:
pipeline (BasePipeline): a ZenML pipeline object
Returns: dict of type { component_name : component_status }
`get_pipeline_context(self, pipeline)`
:
`get_pipeline_executions(self, pipeline)`
: Get executions of pipeline.
Args:
pipeline (BasePipeline): a ZenML pipeline object
`get_pipeline_status(self, pipeline) ‑> str`
: Query metadata store to find status of pipeline.
Args:
pipeline (BasePipeline): a ZenML pipeline object
`get_tfx_metadata_config(self)`
:
`to_config(self) ‑> Dict`
: Converts from ZenML Metadata store back to config.