Пример #1
0
 def make_value_from_datastore(self, value):
     logging.info("MAKE FROM DATASTORE")
     logging.info("Value: " + str(value))
     if value is not None:
         logging.info("Retrieving value (following this log)")
         logging.info(str(CacheController.from_protobuf(value)))
         return CacheController.from_protobuf(value)
Пример #2
0
 def make_value_from_datastore(self, value):
     return [CacheController.from_protobuf(x) for x in value]