Пример #1
0
 def __iter__(self):
     if self.dataset_path:
         for release in get_dependents(self.dataset_path, depth=1):
             yield self.resource(release)
Пример #2
0
 def datasets(self):
     for d in get_dependents(self.name):
         yield dataset.Dataset(d, cache=self.cache)
Пример #3
0
 def get_dependents(self, depth=1, cache=True):
     for d in get_dependents(self.resource_name, depth):
         yield Dataset(d, cache=cache)
Пример #4
0
 def get_dependents(self, depth=1, cache=True):
     for d in get_dependents(self.resource_name, depth):
         ds = Dataset(d, cache=cache)
         if ds.locked:
             continue
         yield ds
Пример #5
0
 def get_dependents(self, depth=1):
     for d in get_dependents(self.resource_name, depth):
         yield Dataset(d)