code: def type(self):
      return self.resp_type
  
file_path: mindsdb/mindsdb/integrations/libs/response.py
imports: from pandas import DataFrame
  from mindsdb.utilities import log
  from mindsdb.api.executor.data_types.response_type import RESPONSE_TYPE
  from mindsdb_sql.parser.ast import ASTNode
label_desc: Use image node_id 2 for calling the ExecutorResponse obj's underlying member method code with example usage: obj.type() and returns: self