docstr: Inserts an event into the calendar.
  
  Args:
      query (ast.Insert): SQL query to parse.
  
  Returns:
      Response: Response object containing the results.
docstr_tok: ["Inserts","an","event","into","the","calendar",".","Args",":","query","(","ast.Insert",")",":","SQL","query","to","parse",".","Returns",":","Response",":","Response","object","containing","the","results","."]
code: def insert(self, query: ast.Insert):
      """
      Inserts an event into the calendar.
  
      Args:
          query (ast.Insert): SQL query to parse.
  
      Returns:
          Response: Response object containing the results.
      """
  
      # Get the values from the query.
      values = query.values[0]
      # Get the event data from the values.
      event_data = {}
      timestamp_columns = {
          "start_time",
          "end_time",
          "created",
          "updated",
      }
      regular_columns = {
          "summary",
          "description",
          "location",
          "status",
          "html_link",
          "creator",
          "organizer",
          "reminders",
          "timeZone",
          "calendar_id",
          "attendees",
      }
  
      # TODO: check why query.columns is None
      for col, val in zip(query.columns, values):
          if col.name in timestamp_columns:
              event_data[col.name] = utc_date_str_to_timestamp_ms(val)
          elif col.name in regular_columns:
              event_data[col.name] = val
          else:
              raise NotImplementedError
  
      st = (
          datetime.datetime.utcfromtimestamp(
              event_data["start_time"] / 1000
          ).isoformat()
          + "Z"
      )
      et = (
          datetime.datetime.utcfromtimestamp(
              event_data["end_time"] / 1000
          ).isoformat()
          + "Z"
      )
  
      event_data["start"] = {
          "dateTime": st,
          "timeZone": event_data["timeZone"],
      }
  
      event_data["end"] = {
          "dateTime": et,
          "timeZone": event_data["timeZone"],
      }
  
      event_data["attendees"] = event_data["attendees"].split(",")
      event_data["attendees"] = [
          {"email": attendee} for attendee in event_data["attendees"]
      ]
  
      # Insert the event into the Google Calendar API.
      self.handler.call_application_api(
          method_name="create_event", params=event_data
      )
  
file_path: mindsdb/mindsdb/integrations/handlers/google_calendar_handler/google_calendar_tables.py
imports: import pandas
  import datetime
  from mindsdb_sql.parser import ast
  from pandas import DataFrame
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.utilities.date_utils import utc_date_str_to_timestamp_ms, parse_utc_date
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
label_desc: Use image node_id 2 for calling the GoogleCalendarEventsTable obj's underlying member method code with example usage: obj.insert(query) without return types