Skip to content

hsml.core.explicit_provenance #

Artifact #

model_registry_id property #

Id of the model registry in which the artifact is located.

name property #

Name of the artifact.

version property #

Version of the artifact.

accessible property #

List of objects which are part of the provenance graph requested.

These entities exist in the feature store and the user has access to them.

deleted property #

deleted: list[Artifact]

List of objects which contains minimal information (name, version) about the entities (feature views, training datasets) they represent.

These entities have been removed from the feature store.

faulty property #

faulty: list[Artifact]

List of objects which contains minimal information (name, version) about the entities (feature views, training datasets) they represent.

These entities exist in the feature store, however they are corrupted.

inaccessible property #

inaccessible: list[Artifact]

List of objects which contains minimal information (name, version) about the entities (feature views, training datasets) they represent.

These entities exist in the feature store, however the user does not have access to them anymore.

get_one_accessible_parent staticmethod #

get_one_accessible_parent(
    links: Links | None,
) -> (
    feature_view.FeatureView
    | training_dataset.TrainingDataset
    | None
)

Return the single accessible parent artifact from the given links.

PARAMETER DESCRIPTION
links

The provenance links to extract the parent from.

TYPE: Links | None

RETURNS DESCRIPTION
feature_view.FeatureView | training_dataset.TrainingDataset | None

The accessible parent artifact, or None when there is no parent

feature_view.FeatureView | training_dataset.TrainingDataset | None

information or the parent is deleted, inaccessible, or invalid.

RAISES DESCRIPTION
Exception

If the backend returns more than one parent.

is_empty #

is_empty() -> bool

Whether these links contain no artifacts in any category.

RETURNS DESCRIPTION
bool

True if there are no accessible, inaccessible, deleted, or faulty

bool

artifacts, False otherwise.