Skip to content

Commit a6d11c2

Browse files
committed
fix: default to PARQUET format in Store.for_download()
Avoid sending null format value to the backend, which doesn't accept it.
1 parent d53c836 commit a6d11c2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

wherobots/db/store.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,8 @@ def for_download(cls, format: StorageFormat | None = None) -> "Store":
5959
Returns:
6060
A Store configured for single-file download with presigned URL.
6161
"""
62-
return cls(format=format, single=True, generate_presigned_url=True)
62+
return cls(
63+
format=format or StorageFormat.PARQUET,
64+
single=True,
65+
generate_presigned_url=True,
66+
)

0 commit comments

Comments
 (0)