Esempio n. 1
0
 def existing_data_item_from_dvc_path(self, dvc_path):
     path = Path.from_dvc_path(dvc_path, self._git)
     return self.existing_data_item(path.relative)
Esempio n. 2
0
 def data_item_from_dvc_path(self, dvc_path, existing=True):
     path = Path.from_dvc_path(dvc_path, self._git)
     if existing:
         return self.existing_data_item(path.relative)
     else:
         return self.data_item(path.relative)