code: def delta(self):
          
          completed_date = parse_api_datetime(self.batch["CompletedDate"])
          created_date = parse_api_datetime(self.batch["CreatedDate"])
          td = completed_date - created_date
          return td.total_seconds()
docs: returns the time (in seconds) that the batch took, if complete