code: def __hash__(self):
      return hash(
          (self.resource_type, self.resource_name, self.pattern_type)
      )
  
imports: from __future__ import absolute_import
  from kafka.errors import IllegalArgumentError
label_desc: Use image node_id 5 for calling the ResourcePatternFilter obj's underlying member method code with example usage: obj.__hash__() and returns: hash