diff --git a/dvc/dependency/local.py b/dvc/dependency/local.py index 4c413dfbd..708be27ea 100644 --- a/dvc/dependency/local.py +++ b/dvc/dependency/local.py @@ -19,11 +19,6 @@ class DependencyLOCAL(DependencyBase): DoesNotExistError = DependencyDoesNotExistError IsNotFileOrDirError = DependencyIsNotFileOrDirError - SCHEMA = { - PARAM_PATH: str, - schema.Optional(PARAM_MD5): schema.Or(str, None), - } - def __init__(self, stage, path, md5=None): self.stage = stage self.project = stage.project diff --git a/dvc/output/local.py b/dvc/output/local.py index 957b319ff..6b8b080b3 100644 --- a/dvc/output/local.py +++ b/dvc/output/local.py @@ -16,9 +16,6 @@ class OutputLOCAL(DependencyLOCAL): DoesNotExistError = OutputDoesNotExistError IsNotFileOrDirError = OutputIsNotFileOrDirError - SCHEMA = DependencyLOCAL.SCHEMA - SCHEMA[schema.Optional(PARAM_CACHE)] = bool - def __init__(self, stage, path, md5=None, use_cache=True): super(OutputLOCAL, self).__init__(stage, path, md5=md5) self.use_cache = use_cache