code: def warn_deprecated(msg):
      """Convenient method to warn TfxDeprecationWarning."""
      warnings.warn(msg, TfxDeprecationWarning)
  
file_path: tfx/tfx/utils/deprecation_utils.py
imports: import functools
  import inspect
  import warnings
label_desc: Use image node_id 8 for calling a global function with example usage: warn_deprecated(msg) without return types