code: def _rename_endpoint(node):
      """Renames keyword endpoint argument to endpoint_name"""
      for keyword in node.keywords:
          if keyword.arg == "endpoint":
              keyword.arg = "endpoint_name"
              break
  
file_path: sagemaker-python-sdk/src/sagemaker/cli/compatibility/v2/modifiers/predictors.py
imports: from __future__ import absolute_import
  from sagemaker.cli.compatibility.v2.modifiers import matching
  from sagemaker.cli.compatibility.v2.modifiers.modifier import Modifier
label_desc: Use image node_id 2 for calling a global function with example usage: _rename_endpoint(node) without return types