def check(self): ok = self.same(self.domain_id, ec.domain_id()) ok = ok and self.same(self.instance_id, ec.instance_id()) ok = ok and self.same(self.job_id, ec.job_id()) ok = ok and self.same(self.pe_id, ec.pe_id()) ok = ok and self.same(self.channel, ec.channel(self)) ok = ok and self.same(self.local_channel, ec.local_channel(self)) ok = ok and self.same(self.max_channels, ec.max_channels(self)) ok = ok and self.same(self.local_max_channels, ec.local_max_channels(self)) return ok
def __call__(self): for instance in self.sc.get_instances(id=ec.instance_id()): for job in instance.get_jobs(id=ec.job_id()): for view in job.get_views(): yield view.name
def __call__(self): instance = self.sc.get_instance(id=ec.instance_id()) job = instance.get_job(id=ec.job_id()) for view in job.get_views(): yield view.name