class_docstr: The Sharepoint handler implementation.
class_docstr_tok: ["The","Sharepoint","handler","implementation","."]
docstr: Set up the context connection required by the handler.
  Returns
  -------
  StatusResponse
      connection object
docstr_tok: ["Set","up","the","context","connection","required","by","the","handler",".","Returns","--","--","--","-","StatusResponse","connection","object"]
code: def connect(self):
      """
      Set up the context connection required by the handler.
      Returns
      -------
      StatusResponse
          connection object
      """
      if self.is_connected is True:
          return self.connection
      self.connection = SharepointAPI(
          tenant_id=self.connection_data["tenantId"],
          client_id=self.connection_data["clientId"],
          client_secret=self.connection_data["clientSecret"],
      )
      self.connection.get_bearer_token()
      self.is_connected = True
      return self.connection
  
file_path: mindsdb/mindsdb/integrations/handlers/sharepoint_handler/sharepoint_handler.py
imports: from mindsdb_sql import parse_sql
  from mindsdb.integrations.handlers.sharepoint_handler.sharepoint_api import SharepointAPI
  from mindsdb.integrations.handlers.sharepoint_handler.sharepoint_tables import ListsTable, SitesTable, ListItemsTable, SiteColumnsTable
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.utilities import log
  from collections import OrderedDict
label_desc: Use image node_id 2 for calling the SharepointHandler obj's underlying member method code with example usage: obj.connect() and returns: self, self