class_docstr: A class for handling connections and interactions with the Hubspot API.
docstr: Creates a new Hubspot API client if needed and sets it as the client to use for requests.
  
  Returns newly created Hubspot API client, or current client if already set.
code: def connect(self) -> HubSpot:
      """Creates a new Hubspot API client if needed and sets it as the client to use for requests.
  
      Returns newly created Hubspot API client, or current client if already set.
      """
      if self.is_connected is True:
          return self.connection
  
      access_token = self.connection_data["access_token"]
  
      self.connection = HubSpot(access_token=access_token)
      self.is_connected = True
  
      return self.connection
  
file_path: mindsdb/mindsdb/integrations/handlers/hubspot_handler/hubspot_handler.py
imports: from hubspot import HubSpot
  from mindsdb.integrations.handlers.hubspot_handler.hubspot_tables import ContactsTable, CompaniesTable, DealsTable
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse
  from mindsdb.utilities import log
  from mindsdb_sql import parse_sql
label_desc: Use image node_id 2 for calling the HubspotHandler obj's underlying member method code with example usage: obj.connect() and returns: self, self