Skip to content

Commit 9aee5c5

Browse files
author
zhilingc
committed
Supply client
1 parent 9ca03d6 commit 9aee5c5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/e2e/bq-batch-retrieval.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,8 +640,9 @@ def get_rows_ingested(
640640

641641

642642
def clean_up_remote_files(files):
643+
storage_client = storage.Client()
643644
for file_uri in files:
644645
if file_uri.scheme == "gs":
645-
blob = Blob.from_string(file_uri.geturl())
646+
blob = Blob.from_string(file_uri.geturl(), client=storage_client)
646647
blob.delete()
647648

0 commit comments

Comments
 (0)