code: def __init__(
      self, def_repo: Dict[str, Any], stage: "Stage", *args, **kwargs
  ):
      self.def_repo = def_repo
      super().__init__(stage, *args, **kwargs)
  
      self.fs = self._make_fs()
      self.fs_path = as_posix(self.def_path)
  
file_path: dvc/dvc/dependency/repo.py
imports: from copy import deepcopy
  from typing import TYPE_CHECKING, Any, Dict, Optional, Union
  import voluptuous
  from dvc.utils import as_posix
  from .base import Dependency
label_desc: Use image node_id 1 to create a new RepoDependency object from inherited base classes: Dependency with example: obj = RepoDependency(def_repo, stage)