code: def _validate_model_version(model_version):
      try:
          model_version = int(model_version)
      except ValueError:
          raise MlflowException(
              f"Model version must be an integer, got '{model_version}'",
              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 24 for calling a global function with example usage: _validate_model_version(model_version) without return types