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 54d3374 commit c051f23Copy full SHA for c051f23
2 files changed
fs/_pathcompat.py
@@ -1,3 +1,4 @@
1
+# mypy: ignore-errors
2
try:
3
from os.path import commonpath
4
except ImportError:
fs/wrap.py
@@ -325,7 +325,6 @@ def touch(self, path):
325
def getmeta(self, namespace="standard"):
326
# type: (Text) -> Mapping[Text, object]
327
self.check()
328
- meta = self.delegate_fs().getmeta(namespace=namespace)
329
- meta["read_only"] = True
330
- meta["supports_rename"] = False
+ meta = dict(self.delegate_fs().getmeta(namespace=namespace))
+ meta.update(read_only=True, supports_rename=True)
331
return meta
0 commit comments