diff --git a/src/datachain/dataset.py b/src/datachain/dataset.py index f9987eb3d..b26d76014 100644 --- a/src/datachain/dataset.py +++ b/src/datachain/dataset.py @@ -112,11 +112,7 @@ def parse( if is_listing_dataset(dataset_name): dependency_type = DatasetDependencyType.STORAGE # type: ignore[arg-type] - client, _ = Client.parse_url( - listing_uri_from_name(dataset_name), - None, # type: ignore[arg-type] - ) - dependency_name = client.uri + dependency_name, _ = Client.parse_url(listing_uri_from_name(dataset_name)) return cls( id,