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 f21f1c2 commit 220c28bCopy full SHA for 220c28b
src/zarr/storage/_fsspec.py
@@ -273,6 +273,7 @@ async def delete_dir(self, prefix: str) -> None:
273
274
path_to_delete = _dereference_path(self.path, prefix)
275
276
+ # this is probably the same condition as `if self.fs.async_impl`
277
if hasattr(self.fs, "_rm") and inspect.iscoroutinefunction(self.fs._rm):
278
with suppress(self.allowed_exceptions):
279
await self.fs._rm(path_to_delete, recursive=True)
0 commit comments