You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
from google.cloud import storage
storage_client = storage.Client()
r = storage_client.list_blobs(bucket_or_name=bucketname,prefix="match/", delimiter='/')
c = 0
for blob in r:
print(blob.name)
c+=1
if c > 5:
break
Result:
empty
Run without delimiter set:
from google.cloud import storage
storage_client = storage.Client()
r = storage_client.list_blobs(bucket_or_name=bucketname,prefix="match/",)
c = 0
for blob in r:
print(blob.name)
c+=1
if c > 5:
break
Environment details
google-cloud-storageversion:pip show google-cloud-storageName: google-cloud-storage Version: 1.43.0 Summary: Google Cloud Storage API client library Home-page: https://github.com/googleapis/python-storage Author: Google LLC Author-email: googleapis-packages@google.com License: Apache 2.0 Location: /Users/asuleiman/opt/miniconda3/envs/torqata/lib/python3.9/site-packages Requires: six, google-auth, google-resumable-media, google-api-core, requests, google-cloud-core, protobuf Required-by:Steps to reproduce
Result:
Result: