code: def insert(self, query: ast.Insert):
      columns = [col.name for col in query.columns]
  
      insert_params = ("api_token",)
      for p in insert_params:
          if p not in self.handler.connection_args:
              raise Exception(
                  f"To insert data into Notion, you need to provide the following parameters when connecting it to MindsDB: {insert_params}"
              )  # noqa
  
      for row in query.values:
          params = dict(zip(columns, row))
  
          # title and database_id as required params for creating the page
          # optionally provide the text to populate the page
          title = params["title"]
          text = params.get("text", "")
  
          messages = []
  
          # the last message
          if text.strip() != "":
              messages.append(text.strip())
  
          len_messages = len(messages)
          for i, text in enumerate(messages):
              if i < len_messages - 1:
                  text += "..."
              else:
                  text += " "
  
              params["parent"] = {"database_id": params["database_id"]}
              params["properties"] = {
                  "Name": {
                      "title": [
                          {
                              "text": {
                                  "content": title,
                              },
                          },
                      ],
                  },
              }
              params["children"] = [
                  {
                      "object": "block",
                      "type": "paragraph",
                      "paragraph": {
                          "rich_text": [
                              {
                                  "type": "text",
                                  "text": {
                                      "content": text,
                                  },
                              }
                          ]
                      },
                  }
              ]
  
              self.handler.call_notion_api("pages.create", params)
  
imports: import json
  import pandas
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.response import HandlerResponse
label_desc: Use image node_id 3 for calling the NotionPagesTable obj's underlying member method code with example usage: obj.insert(query) without return types