docstr: constructor
  Args:
      name (str): the handler name
docstr_tok: ["constructor","Args",":","name","(","str",")",":","the","handler","name"]
code: def __init__(self, name: str, **kwargs):
      """constructor
      Args:
          name (str): the handler name
      """
      super().__init__(name)
  
      self.connection_args = kwargs.get("connection_data", {})
      self.key = "api_token"
  
      # set the api token from the args in create query
      if self.key in self.connection_args:
          self.connection_args[self.key] = self.connection_args[
              self.key
          ]
  
      self.api = None
      self.is_connected = False
  
      notion_database_data = NotionDatabaseTable(self)
      notion_pages_data = NotionPagesTable(self)
      notion_comments_data = NotionCommentsTable(self)
      notion_blocks_data = NotionBlocksTable(self)
  
      self._register_table("database", notion_database_data)
      self._register_table("pages", notion_pages_data)
      self._register_table("blocks", notion_blocks_data)
      self._register_table("comments", notion_comments_data)
  
file_path: mindsdb/mindsdb/integrations/handlers/notion_handler/notion_handler.py
imports: import time
  import pandas
  from collections import defaultdict
  from notion_client import Client
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
  from .notion_table import NotionBlocksTable, NotionCommentsTable, NotionDatabaseTable, NotionPagesTable
label_desc: Use image node_id 1 to create a new NotionHandler object from inherited base classes: APIHandler with example: obj = NotionHandler(name)