code: def get_limits(route: str) -> LimitsConfig:
      """
      Get limits of an existing route in the Gateway.
  
      .. warning::
  
          This API is **only available** when connected to a Databricks-hosted AI Gateway.
  
      Args:
          route: The name of the route to get limits of.
  
      Example usage from within Databricks:
  
      .. code-block:: python
  
          from mlflow.gateway import set_gateway_uri, get_limits
  
          set_gateway_uri(gateway_uri="databricks")
  
          get_limits("my-new-route")
      """
      return MlflowGatewayClient().get_limits(route=route)
  
file_path: mlflow/mlflow/gateway/fluent.py
imports: from typing import Any, Dict, List, Optional
  from mlflow.gateway.client import MlflowGatewayClient
  from mlflow.gateway.config import LimitsConfig, Route
  from mlflow.gateway.constants import MLFLOW_GATEWAY_SEARCH_ROUTES_PAGE_SIZE
  from mlflow.gateway.utils import gateway_deprecated
  from mlflow.utils import get_results_from_paginated_fn
label_desc: Use image node_id 6 for calling a global function with example usage: get_limits(route) and returns: MlflowGatewayClient