-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
E.g. this gives an empty result:
import obstore
from obstore.store import AzureStore
url = "https://overturemapswestus2.blob.core.windows.net/release"
store = AzureStore.from_url(url, skip_signature=True)
store.list_with_delimiter(){'common_prefixes': [], 'objects': []}
It turns out this is due to path handling, because release/ is considered a prefix in the bucket, while it should be considered separately as the container name.
It works if you manually pass arguments to the store constructor:
store = AzureStore("release", account_name="overturemapswestus2", skip_signature=True)
store.list_with_delimiter(){'common_prefixes': ['2023-04-02-alpha',
'2023-07-26-alpha.0',
'2023-10-19-alpha.0',
'2023-11-14-alpha.0',
'2023-12-14-alpha.0',
'2024-01-17-alpha.0',
'2024-02-15-alpha.0',
'2024-02-15-alpha.0_log',
'2024-03-12-alpha.0',
'2024-04-16-beta.0',
'2024-05-16-beta.0',
'2024-06-13-beta.0',
'2024-06-13-beta.1',
'2024-07-22.0',
'2024-08-20.0',
'2024-09-18.0',
'2024-10-23.0',
'2024-11-13.0',
'2024-12-18.0',
'2025-01-22.0',
'2025-02-19.0',
'2025-03-19.0',
'2025-03-19.1',
'2025-04-23.0',
'2025-05-21.0',
'_$azuretmpfolder$'],
'objects': []}
Metadata
Metadata
Assignees
Labels
No labels