code: def get(self, key, default=None):
          
          key = "{0}{1}".format(self.prefix, key)
  
          data = self.redis.get(key)
          # Redis returns None not an exception
          if data is None:
              data = default
          else:
              data = json.loads(data)
  
          return data
docs: Get a key.