We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 473b428 commit 41508c1Copy full SHA for 41508c1
1 file changed
src/zarr/storage/_zip.py
@@ -92,13 +92,15 @@ def __init__(
92
93
def with_read_only(self, read_only: bool = False) -> ZipStore:
94
# docstring inherited
95
- return type(self)(
+ store = type(self)(
96
path=self.path,
97
mode='r',
98
read_only=read_only,
99
compression=self.compression,
100
allowZip64=self.allowZip64,
101
)
102
+ store._sync_open()
103
+ return store
104
105
def _sync_open(self) -> None:
106
if self._is_open:
0 commit comments