code: def get_app_client(app_name: str, *args, **kwargs):
      """
      Instantiate a client provided by an app.
  
      :param app_name: The app name defined in `setup.py`, e.g., "basic-auth".
      :param args: Additional arguments passed to the app client constructor.
      :param kwargs: Additional keyword arguments passed to the app client constructor.
      :return: An app client instance.
      """
      clients = importlib.metadata.entry_points().get(
          "mlflow.app.client", []
      )
      for client in clients:
          if client.name == app_name:
              cls = client.load()
              return cls(*args, **kwargs)
  
      raise MlflowException(
          f"Failed to find client for '{app_name}'. Available clients: {[c.name for c in clients]}"
      )
  
imports: import importlib
  import importlib.metadata
  import os
  import shlex
  import sys
  import textwrap
  import types
  from flask import Flask, Response, send_from_directory
  from packaging.version import Version
  from mlflow.exceptions import MlflowException
  from mlflow.server import handlers
  from mlflow.server.handlers import STATIC_PREFIX_ENV_VAR, _add_static_prefix, create_promptlab_run_handler, gateway_proxy_handler, get_artifact_handler, get_metric_history_bulk_handler, get_model_version_artifact_handler, search_datasets_handler, upload_artifact_handler
  from mlflow.utils.os import is_windows
  from mlflow.utils.process import _exec_cmd
  from mlflow.version import VERSION
label_desc: Use image node_id 14 for calling a global function with example usage: get_app_client(app_name) and returns: cls