class_docstr: A class for handling connections and interactions with the CoinBase API.
  
  Attributes:
      api_key (str): API key
      api_secret (str): API secret
      is_connected (bool): Whether or not the API client is connected to CoinBase.
code: def generate_api_headers(self, method: str, path: str) -> dict:
      timestamp = str(int(time.time()))
      message = timestamp + method + path
      signature = base64.b64encode(
          hmac.new(
              base64.b64decode(self.api_secret),
              str.encode(message),
              hashlib.sha256,
          ).digest()
      )
      headers = {
          "Content-Type": "application/json",
          "CB-ACCESS-SIGN": signature,
          "CB-ACCESS-KEY": self.api_key,
          "CB-ACCESS-TIMESTAMP": timestamp,
          "CB-VERSION": "2015-04-08",
          "CB-ACCESS-PASSPHRASE": self.api_passphrase,
      }
      return headers
  
imports: import pandas
  from typing import Dict
  import datetime
  import hmac
  import hashlib
  import time
  import requests
  from collections import OrderedDict
  import base64
  from mindsdb.integrations.handlers.coinbase_handler.coinbase_tables import CoinBaseAggregatedTradesTable
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse
  from mindsdb_sql import parse_sql
label_desc: Use image node_id 7 for calling the CoinBaseHandler obj's underlying member method code with example usage: obj.generate_api_headers(method, path) and returns: headers