We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d72c4d commit 5805b2cCopy full SHA for 5805b2c
src/dvc_objects/fs/__init__.py
@@ -84,8 +84,8 @@ def as_filesystem(
84
return fs
85
86
protos = (fs.protocol,) if isinstance(fs.protocol, str) else fs.protocol
87
- if "file" in protos:
88
- protos = ("local", *protos)
+ if "file" in protos or "local" in protos:
+ return LocalFileSystem()
89
90
# if we have the class in our registry, instantiate with that.
91
for proto in protos:
0 commit comments