def Run(self, args): job = jobs_util.Describe(jobs.JobsClient(), args.job) self.job = job # Hack to make the Epilog method work if args.summarize: if args.format: log.warn('--format is ignored when --summarize is present') args.format = jobs_util.GetSummaryFormat(job) return job
def Run(self, args): job = jobs_util.Describe(jobs.JobsClient('v1'), args.job) self.job = job # Hack to make the Epilog method work return job