class_docstr: The Shopify handler implementation.
class_docstr_tok: ["The","Shopify","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
  
      if self.kwargs.get("connection_data") is None:
          raise MissingConnectionParams(
              f"Incomplete parameters passed to Shopify Handler"
          )
  
      api_session = shopify.Session(
          self.connection_data["shop_url"],
          "2021-10",
          self.connection_data["access_token"],
      )
  
      self.yotpo_app_key = (
          self.connection_data["yotpo_app_key"]
          if "yotpo_app_key" in self.connection_data
          else None
      )
      self.yotpo_access_token = (
          self.connection_data["yotpo_access_token"]
          if "yotpo_access_token" in self.connection_data
          else None
      )
  
      self.connection = api_session
  
      self.is_connected = True
  
      return self.connection
  
file_path: mindsdb/mindsdb/integrations/handlers/shopify_handler/shopify_handler.py
imports: import shopify
  import requests
  from mindsdb.integrations.handlers.shopify_handler.shopify_tables import ProductsTable, CustomersTable, OrdersTable, InventoryLevelTable, LocationTable, CustomerReviews, CarrierServiceTable, ShippingZoneTable, SalesChannelTable
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.utilities import log
  from mindsdb_sql import parse_sql
  from mindsdb.integrations.libs.api_handler_exceptions import InvalidNativeQuery, ConnectionFailed, MissingConnectionParams
label_desc: Use image node_id 2 for calling the ShopifyHandler obj's underlying member method code with example usage: obj.connect() and returns: self, self