code: def _validate_length_limit(entity_name, limit, value):
      if value is not None and len(value) > limit:
          raise MlflowException(
              f"{entity_name} '{value[:250]}' had length {len(value)}, "
              f"which exceeded length limit of {limit}",
              error_code=INVALID_PARAMETER_VALUE,
          )
  
imports: import numbers
  import posixpath
  import re
  from typing import List
  from mlflow.entities import Dataset, DatasetInput, InputTag
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.store.db.db_types import DATABASE_ENGINES
  from mlflow.utils.string_utils import is_string_type
label_desc: Use image node_id 14 for calling a global function with example usage: _validate_length_limit(entity_name, limit, value) without return types