class_docstr: A class for handling connections and interactions with Quickbooks API.
class_docstr_tok: ["A","class","for","handling","connections","and","interactions","with","Quickbooks","API","."]
code: def connect(self):
      if self.is_connected is True:
          return self.quickbooks
  
      self.quickbooks = QuickbooksOnlineSDK(
          client_id=self.connection_args["client_id"],
          client_secret=self.connection_args["client_secret"],
          realm_id=self.connection_args["realm_id"],
          refresh_token=self.connection_args["refresh_token"],
          environment=self.connection_args["environment"],
      )
      self.is_connected = True
      return self.quickbooks
  
file_path: mindsdb/mindsdb/integrations/handlers/quickbooks_handler/quickbooks_handler.py
imports: import os
  import pandas
  from qbosdk import QuickbooksOnlineSDK
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
  from mindsdb.utilities.config import Config
  from mindsdb.utilities import log
  from mindsdb_sql import parse_sql
  from .quickbooks_table import AccountsTable, PurchasesTable, BillPaymentsTable, VendorsTable, BillsTable, EmployeesTable
label_desc: Use image node_id 2 for calling the QuickbooksHandler obj's underlying member method code with example usage: obj.connect() and returns: self, self