Skip to content

Commit

Permalink
Remove unwanted excessive splitting of gcs path
Browse files Browse the repository at this point in the history
Signed-off-by: Crispin Logan <[email protected]>
  • Loading branch information
crispin-ki committed Sep 5, 2023
1 parent 377758b commit d82e07c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sdk/python/feast/infra/offline_stores/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,6 @@ def to_remote_storage(self) -> List[str]:
else:
storage_client = StorageClient(project=self.client.project)
bucket, prefix = self._gcs_path[len("gs://") :].split("/", 1)
prefix = prefix.rsplit("/", 1)[0]
if prefix.startswith("/"):
prefix = prefix[1:]

Expand Down

0 comments on commit d82e07c

Please sign in to comment.