We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 216885a commit 3763661Copy full SHA for 3763661
fsspec/implementations/asyn_wrapper.py
@@ -57,8 +57,9 @@ def _wrap_all_sync_methods(self):
57
"""
58
Wrap all synchronous methods of the underlying filesystem with asynchronous versions.
59
60
+ excluded_methods = {"open"}
61
for method_name in dir(self.sync_fs):
- if method_name.startswith("_"):
62
+ if method_name.startswith("_") or method_name in excluded_methods:
63
continue
64
65
attr = inspect.getattr_static(self.sync_fs, method_name)
0 commit comments