def __iter__(self): if self.dataset_path: for release in get_dependents(self.dataset_path, depth=1): yield self.resource(release)
def datasets(self): for d in get_dependents(self.name): yield dataset.Dataset(d, cache=self.cache)
def get_dependents(self, depth=1, cache=True): for d in get_dependents(self.resource_name, depth): yield Dataset(d, cache=cache)
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
def get_dependents(self, depth=1): for d in get_dependents(self.resource_name, depth): yield Dataset(d)