code: def _py_vs_parity_check():
      container_py_vs = platform.python_version()
      local_py_vs = os.getenv("LOCAL_PYTHON")
  
      if (
          not local_py_vs
          or container_py_vs.split(".")[1] != local_py_vs.split(".")[1]
      ):
          logger.warning(
              f"The local python version {local_py_vs} differs from the python version "
              f"{container_py_vs} on the container. Please align the two to avoid unexpected behavior"
          )
  
file_path: sagemaker-python-sdk/src/sagemaker/serve/model_server/triton/model.py
imports: from __future__ import absolute_import
  import os
  import logging
  import ssl
  from pathlib import Path
  import platform
  import triton_python_backend_utils
  import cloudpickle
  from sagemaker.serve.validations.check_integrity import perform_integrity_check
label_desc: Use image node_id 2 for calling a global function with example usage: _py_vs_parity_check() without return types