Provenance Links#
Provenance Links are objects returned by methods such as Model.get_feature_view_provenance, Model.get_training_dataset_provenance. These methods use the provenance graph to return the parent feature view/training dataset of a model. These methods will return the actual instances of the feature view/training dataset if available. If the instance was deleted, or it belongs to a featurestore that the current project doesn't have access anymore, an Artifact object is returned.
There is an additional method using the provenance graph: Model.get_feature_view. This method wraps the get_feature_view_provenance and always returns a correct, usable Feature View object or throws an exception if the returned object is an Artifact. Thus an exception is thrown if the feature view was deleted or the featurestore it belongs to was unshared.
Links #
accessible property #
accessible
List of [FeatureView|TrainingDataset objects] 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 of [Artifact 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 of [Artifact 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 of [Artifact 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.
from_response_json staticmethod #
from_response_json(
json_dict: dict, direction: Direction, artifact: Type
)
Parse explicit links from json response.
There are three types of Links: UpstreamFeatureGroups, DownstreamFeatureGroups, DownstreamFeatureViews.
| PARAMETER | DESCRIPTION |
|---|---|
links_json | json response from the explicit provenance endpoint
|
direction | subset of links to parse - UPSTREAM/DOWNSTREAM TYPE: |
type | subset of links to parse - FEATURE_VIEW/TRAINING_DATASET/MODEL
|
| RETURNS | DESCRIPTION |
|---|---|
| A ProvenanceLink object for the selected parse type. |
Artifact#
Artifacts objects are part of the provenance graph and contain a minimal set of information regarding the entities (feature views, training datasets) they represent. The provenance graph contains Artifact objects when the underlying entities have been deleted or they are corrupted or they are not accessible by the current project anymore.