def iterate_paths(self):
    for path in self.paths:
        (yield (path, PartitionSpec(domains=[NLGEvalOutput._domain_name(path)], paths=[path], tasks=self.tasks)))
def iterate_paths(self):
    for path in self.paths:
        (yield (path, PartitionSpec(domains=[NLGEvalOutput._domain_name(path)], paths=[path], tasks=self.tasks)))