code: def deprecated_deserialize(instance, name):
      """Modifies a deserializer instance deserialize method.
  
      Args:
          instance: Instance to modify deserialize method.
          name: The name that has been deprecated.
  
      Returns:
          The modified instance
      """
      instance.deserialize = deprecated_function(
          instance.deserialize, name
      )
      return instance
  
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 14 for calling a global function with example usage: deprecated_deserialize(instance, name) and returns: instance