Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion dvc/fs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
Schemes,
generic,
get_fs_cls,
known_implementations,
localfs,
registry,
system,
)
Expand All @@ -19,13 +21,26 @@
ConfigError,
RemoteMissingDepsError,
)
from dvc_objects.fs.implementations.local import localfs # noqa: F401
from dvc_objects.fs.path import Path # noqa: F401

from .data import DataFileSystem # noqa: F401
from .dvc import DvcFileSystem # noqa: F401
from .git import GitFileSystem # noqa: F401

known_implementations.update(
{
"dvc": {
"class": "dvc.fs.dvc.DvcFileSystem",
"err": "dvc is supported, but requires 'dvc' to be installed",
},
"git": {
"class": "dvc.fs.git.GitFileSystem",
"err": "git is supported, but requires 'dvc' to be installed",
},
}
)
Comment on lines +30 to +41
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the record, we'll register other plugins here the same way in the near future.



# pylint: enable=unused-import


Expand Down
2 changes: 1 addition & 1 deletion dvc/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _get_linktype_support_info(repo):
def _get_supported_remotes():
supported_remotes = []
for scheme in registry:
if scheme in [Schemes.LOCAL, Schemes.MEMORY]:
if scheme in [Schemes.LOCAL, Schemes.MEMORY, "dvc", "git"]:
continue

try:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ install_requires =
dvc-render==0.0.9
dvc-task==0.1.2
dvclive>=0.10.0
dvc-data==0.1.20
dvc-data==0.1.21
dvc-http==0.0.2
hydra-core>=1.1.0

Expand Down