Commit d6d747c
committed
Pass read_only into LocalStore.open()
Currently, `read_only` is not passed in `open()`, which means the
default value of `read_only=False` is confusingly used instead.
This mostly just surprisng, but also has minor performance implications
because `read_only=False` means Zarr attempts to create directories on
this line (which is a no-op because `exist_ok=True`):
https://github.com/zarr-developers/zarr-python/blob/e738e2fb88dbead26a853d9982ff46eab64f313f/src/zarr/storage/_local.py#L167-L1691 parent 6c04c82 commit d6d747c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| |||
0 commit comments