Esempio n. 1
0
 def expiration_time(self):
     '''Expiration time for the table'''
     try:
         print bqutil.convert_timestamp(self.resource['expirationTime'])
     except KeyError:
         warnings.warn("No expiration set")
Esempio n. 2
0
 def creation_time(self):
     '''Creation time for the table'''
     print bqutil.convert_timestamp(self.resource['creationTime'])
Esempio n. 3
0
 def last_modified(self):
     self.resource = self.get_resource(self.remote)
     print bqutil.convert_timestamp(self.resource['lastModifiedTime'])
     return float(self.resource['lastModifiedTime'])
Esempio n. 4
0
File: bqdf.py Progetto: askerry/bqpy
 def expiration_time(self):
     '''Expiration time for the table'''
     try:
         print bqutil.convert_timestamp(self.resource['expirationTime'])
     except KeyError:
         warnings.warn("No expiration set")
Esempio n. 5
0
File: bqdf.py Progetto: askerry/bqpy
 def creation_time(self):
     '''Creation time for the table'''
     print bqutil.convert_timestamp(self.resource['creationTime'])
Esempio n. 6
0
File: bqdf.py Progetto: askerry/bqpy
 def last_modified(self):
     self.resource = self.get_resource(self.remote)
     print bqutil.convert_timestamp(self.resource['lastModifiedTime'])
     return float(self.resource['lastModifiedTime'])