docstr: Receive query as AST (abstract syntax tree) and act upon it somehow.
  
  Args:
      query (ASTNode): sql query represented as AST. Usually it should be ast.Insert
  
  Returns:
      None
docstr_tok: ["Receive","query","as","AST","(","abstract","syntax","tree",")","and","act","upon","it","somehow",".","Args",":","query","(","ASTNode",")",":","sql","query","represented","as","AST",".","Usually","it","should","be","ast.Insert","Returns",":","None"]
code: def insert(self, query: ast.Insert) -> None:
      """Receive query as AST (abstract syntax tree) and act upon it somehow.
  
      Args:
          query (ASTNode): sql query represented as AST. Usually it should be ast.Insert
  
      Returns:
          None
      """
      data = {}
      for column, value in zip(query.columns, query.values[0]):
          if isinstance(value, str):
              try:
                  value = json.loads(value)
              except json.JSONDecodeError:
                  if value == "True":
                      value = True
                  elif value == "False":
                      value = False
          data[column.name] = value
      self.handler.call_instatus_api(
          endpoint="/v1/pages", method="POST", json_data=data
      )
  
file_path: mindsdb/mindsdb/integrations/handlers/instatus_handler/instatus_tables.py
imports: from typing import List
  import pandas
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
  from mindsdb_sql.parser.ast.select.constant import Constant
  import json
  import re
label_desc: Use image node_id 2 for calling the StatusPages obj's underlying member method code with example usage: obj.insert(query) without return types