diff --git a/python/hopsworks/core/tags_api.py b/python/hopsworks/core/tags_api.py index c216be14c..50cd61786 100644 --- a/python/hopsworks/core/tags_api.py +++ b/python/hopsworks/core/tags_api.py @@ -17,7 +17,7 @@ import json -from hsfs import client, feature_view, tag +from hopsworks import client, tag class TagsApi: @@ -100,7 +100,7 @@ def get(self, metadata_instance, name: str = None, training_dataset_version=None def get_path(self, metadata_instance, training_dataset_version=None): _client = client.get_instance() - if isinstance(metadata_instance, feature_view.FeatureView): + if type(metadata_instance).__name__ == "FeatureView": path = [ "project", _client._project_id,