code: def hdel(self, hashkey, *keys):
          
  
          redis_hash = self._get_hash(hashkey, 'HDEL')
          count = 0
          for key in keys:
              attribute = self._encode(key)
              if attribute in redis_hash:
                  count += 1
                  del redis_hash[attribute]
                  if not redis_hash:
                      self.delete(hashkey)
          return count
docs: Emulate hdel