mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-06 15:28:28 +01:00
remote: rename Remote -> RemoteBase
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
class Remote(object):
|
||||
class RemoteBase(object):
|
||||
def __init__(self, project, config):
|
||||
pass
|
||||
|
||||
|
||||
+2
-2
@@ -6,10 +6,10 @@ try:
|
||||
except ImportError:
|
||||
from urllib.parse import urlparse
|
||||
|
||||
from dvc.remote.base import Remote
|
||||
from dvc.remote.base import RemoteBase
|
||||
|
||||
|
||||
class RemoteGS(Remote):
|
||||
class RemoteGS(RemoteBase):
|
||||
PARAM_ETAG = 'etag'
|
||||
|
||||
def __init__(self, project, config):
|
||||
|
||||
+2
-2
@@ -4,14 +4,14 @@ import json
|
||||
import shutil
|
||||
|
||||
from dvc.system import System
|
||||
from dvc.remote.base import Remote
|
||||
from dvc.remote.base import RemoteBase
|
||||
from dvc.state import State
|
||||
from dvc.logger import Logger
|
||||
from dvc.utils import remove, move
|
||||
from dvc.output.base import OutputAlreadyTrackedError
|
||||
|
||||
|
||||
class RemoteLOCAL(Remote):
|
||||
class RemoteLOCAL(RemoteBase):
|
||||
PARAM_MD5 = State.PARAM_MD5
|
||||
|
||||
CACHE_DIR = 'cache'
|
||||
|
||||
+2
-2
@@ -6,10 +6,10 @@ try:
|
||||
except ImportError:
|
||||
from urllib.parse import urlparse
|
||||
|
||||
from dvc.remote.base import Remote
|
||||
from dvc.remote.base import RemoteBase
|
||||
|
||||
|
||||
class RemoteS3(Remote):
|
||||
class RemoteS3(RemoteBase):
|
||||
PARAM_ETAG = 'etag'
|
||||
|
||||
def __init__(self, project, config):
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
from dvc.remote.base import Remote
|
||||
from dvc.remote.base import RemoteBase
|
||||
|
||||
|
||||
class RemoteSSH(Remote):
|
||||
class RemoteSSH(RemoteBase):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user