class_docstr: Confluence handler implementation
class_docstr_tok: ["Confluence","handler","implementation"]
docstr: Set up the connection required by the handler.
  Returns
  -------
  StatusResponse
      connection object
docstr_tok: ["Set","up","the","connection","required","by","the","handler",".","Returns","--","--","--","-","StatusResponse","connection","object"]
code: def connect(self):
      """Set up the connection required by the handler.
      Returns
      -------
      StatusResponse
          connection object
      """
      if self.is_connected is True:
          return self.connection
      conf = Confluence(
          url=self.connection_data.get("url"),
          username=self.connection_data.get("username"),
          password=self.connection_data.get("password"),
      )
      self.connection = conf
      self.is_connected = True
      return self.connection
  
file_path: mindsdb/mindsdb/integrations/handlers/confluence_handler/confluence_handler.py
imports: from typing import Optional, Union
  import requests
  from atlassian import Confluence
  from mindsdb_sql import parse_sql
  from mindsdb.integrations.handlers.confluence_handler.confluence_table import ConfluencePagesTable
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb_sql import parse_sql
  from mindsdb.utilities import log
  from atlassian import Confluence
  from typing import Optional
  import requests
label_desc: Use image node_id 2 for calling the ConfluenceHandler obj's underlying member method code with example usage: obj.connect() and returns: self, self