class_docstr: This handler handles connection and execution of the FaunaDB statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","FaunaDB","statements","."]
code: def _get_client(self):
      client_config = self._client_config
      if client_config is None:
          raise Exception("Client config is not set!")
  
      if client_config["fauna_endpoint"] is not None:
          return FaunaClient(
              secret=client_config["fauna_secret"],
              endpoint=client_config["fauna_endpoint"],
          )
      else:
          return FaunaClient(
              secret=client_config["fauna_secret"],
              scheme=client_config["fauna_scheme"],
              domain=client_config["fauna_domain"],
              port=client_config["fauna_port"],
          )
  
imports: import json
  import pandas
  from collections import OrderedDict
  from typing import List
  from faunadb import query
  from faunadb.client import FaunaClient
  from mindsdb_sql import Select, Insert, CreateTable, Delete
  from mindsdb_sql.parser.ast.select.star import Star
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.libs.response import RESPONSE_TYPE, HandlerResponse, HandlerStatusResponse
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.utilities import log
label_desc: Use image node_id 2 for calling the FaunaDBHandler obj's underlying member method code with example usage: obj._get_client() and returns: FaunaClient, FaunaClient