Ejemplo n.º 1
0
 def set_up(self):
     try:
         self.result = memcache.get(_SIGN_CACHE_KEY)
     except Exception:
         pass  # If memcache fails, do nothing
     if self.result is None:
         self._future = SignSecret.find_last().fetch_async(2)