code: def _find_app(app_name: str) -> str:
      apps = importlib.metadata.entry_points().get("mlflow.app", [])
      for app in apps:
          if app.name == app_name:
              return app.value
  
      raise MlflowException(
          f"Failed to find app '{app_name}'. Available apps: {[a.name for a in apps]}"
      )
  
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 12 for calling a global function with example usage: _find_app(app_name) and returns: app