code: def deprecation_warn(name, date, msg=None):
      """Raise a warning for soon to be deprecated feature in sagemaker>=2
  
      Args:
          name (str): Name of the feature
          date (str): the date when the feature will be deprecated
          msg (str): the prefix phrase of the warning message.
      """
      _warn(f"{name} will be deprecated on {date}.{msg}")
  
file_path: sagemaker-python-sdk/src/sagemaker/deprecations.py
imports: from __future__ import absolute_import
  import logging
  import warnings
label_desc: Use image node_id 4 for calling a global function with example usage: deprecation_warn(name, date, msg) without return types