def expiration_time(self): '''Expiration time for the table''' try: print bqutil.convert_timestamp(self.resource['expirationTime']) except KeyError: warnings.warn("No expiration set")
def creation_time(self): '''Creation time for the table''' print bqutil.convert_timestamp(self.resource['creationTime'])
def last_modified(self): self.resource = self.get_resource(self.remote) print bqutil.convert_timestamp(self.resource['lastModifiedTime']) return float(self.resource['lastModifiedTime'])