parameters: (self, name, key, default=None)
return_statement: return default if value is None or res != 1 else value
docstring: del specified key and return the value of key within the hash name
docstring_summary: del specified key and return the value of key within the hash name
docstring_tokens: del specified key and return the value of key within the hash name
function: def hpop(self, name, key, default=None):
          '''del specified key and return the value of key within the hash name'''
          pipe = self.pipeline()
          pipe.hget(name, key)
          pipe.hdel(name, key)
          value, res = pipe.execute()
          return default if value is None or res != 1 else value
function_tokens: def hpop ( self , name , key , default = None ) : pipe = self . pipeline ( ) pipe . hget ( name , key ) pipe . hdel ( name , key ) value , res = pipe . execute ( ) return default if value is None or res != 1 else value