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
It would be useful to provide a LocalStore __init__ parameter that creates the prefix directory if it does not exist. This is particularly important for using obstore with Zarr, since users will often want to create a new store. The current behavior returns a generic error, e.g.,
Hopefully that will automatically create /root/dir/dir1/dir2/.
It would be nice to create the directory specified by prefix, but we need to ensure that we're able to parse the path input in exactly the same way by Python and Rust. Perhaps that means we should coerce to a pathlib.Path, canonicalize it, call Path.mkdir(exist_ok=True, parents=True), and then pass that pre-canonicalized path to object_store::LocalStore.
It would be useful to provide a LocalStore
__init__
parameter that creates theprefix
directory if it does not exist. This is particularly important for using obstore with Zarr, since users will often want to create a new store. The current behavior returns a generic error, e.g.,The text was updated successfully, but these errors were encountered: