Skip to content

Commit d3fa3f5

Browse files
authored
Document that copy() functions are not implemented (#3442)
1 parent af56956 commit d3fa3f5

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/zarr/api/asynchronous.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,23 @@ async def consolidate_metadata(
250250

251251

252252
async def copy(*args: Any, **kwargs: Any) -> tuple[int, int, int]:
253+
"""
254+
Not implemented.
255+
"""
253256
raise NotImplementedError
254257

255258

256259
async def copy_all(*args: Any, **kwargs: Any) -> tuple[int, int, int]:
260+
"""
261+
Not implemented.
262+
"""
257263
raise NotImplementedError
258264

259265

260266
async def copy_store(*args: Any, **kwargs: Any) -> tuple[int, int, int]:
267+
"""
268+
Not implemented.
269+
"""
261270
raise NotImplementedError
262271

263272

src/zarr/api/synchronous.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,23 @@ def consolidate_metadata(
112112

113113

114114
def copy(*args: Any, **kwargs: Any) -> tuple[int, int, int]:
115+
"""
116+
Not implemented.
117+
"""
115118
return sync(async_api.copy(*args, **kwargs))
116119

117120

118121
def copy_all(*args: Any, **kwargs: Any) -> tuple[int, int, int]:
122+
"""
123+
Not implemented.
124+
"""
119125
return sync(async_api.copy_all(*args, **kwargs))
120126

121127

122128
def copy_store(*args: Any, **kwargs: Any) -> tuple[int, int, int]:
129+
"""
130+
Not implemented.
131+
"""
123132
return sync(async_api.copy_store(*args, **kwargs))
124133

125134

0 commit comments

Comments
 (0)