File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -421,9 +421,6 @@ async def getsize_prefix(self, prefix: str) -> int:
421421 """
422422 Return the size, in bytes, of all values under a prefix.
423423
424- This will include just values whose keys start with ``prefix`` and
425- do not contain the character ``/`` after the given prefix.
426-
427424 Parameters
428425 ----------
429426 prefix : str
@@ -434,11 +431,15 @@ async def getsize_prefix(self, prefix: str) -> int:
434431 nbytes : int
435432 The sum of the sizes of the values in the directory (in bytes).
436433
434+ See Also
435+ --------
436+ zarr.Array.nbytes_stored
437+ Store.getsize
438+
437439 Notes
438440 -----
439- ``getsize_dir`` is just provided as a potentially faster alternative to
440- listing all the keys in a directory and calling :meth:`Store.getsize`
441- on each.
441+ ``getsize_prefix`` is just provided as a potentially faster alternative to
442+ listing all the keys under a prefix calling :meth:`Store.getsize` on each.
442443 """
443444 keys = [x async for x in self .list_prefix (prefix )]
444445 sizes = await gather (* [self .getsize (key ) for key in keys ])
You can’t perform that action at this time.
0 commit comments