class_docstr: The PayPal handler implementation.
class_docstr_tok: ["The","PayPal","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
  
      self.connection = paypalrestsdk.Api(
          {
              "mode": self.connection_data["mode"],
              "client_id": self.connection_data["client_id"],
              "client_secret": self.connection_data["client_secret"],
          }
      )
  
      self.is_connected = True
  
      return self.connection
  
file_path: mindsdb/mindsdb/integrations/handlers/paypal_handler/paypal_handler.py
imports: import paypalrestsdk
  from mindsdb.integrations.handlers.paypal_handler.paypal_tables import InvoicesTable, PaymentsTable, SubscriptionsTable, OrdersTable, PayoutsTable
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb_sql import parse_sql
  from collections import OrderedDict
label_desc: Use image node_id 2 for calling the PayPalHandler obj's underlying member method code with example usage: obj.connect() and returns: self, self