I am using the Google Cloud Storage Python API to gather the list of files contained in specific subdirectories within Cloud Storage.
bucket.list_blobs(prefix='abc')
However, the issue with this is that I only want to gather the list of files within:
bucket/abc/
However, what's being called is:
bucket/abc/ AND bucket/abc-123/
How do I ensure that the prefix is to be used as an exact match? Thanks.
bucket/abc
? And nothing from the sub directories? - AnkurSaxena