code: def get_method_call_arg_value(
      arg_index, arg_name, default_value, call_pos_args, call_kwargs
  ):
      """Get argument value for a method call.
  
      Args:
          arg_index: The argument index in the function signature. Start from 0.
          arg_name: The argument name in the function signature.
          default_value: Default argument value.
          call_pos_args: The positional argument values in the method call.
          call_kwargs: The keyword argument values in the method call.
      """
      if arg_name in call_kwargs:
          return call_kwargs[arg_name]
      elif arg_index < len(call_pos_args):
          return call_pos_args[arg_index]
      else:
          return default_value
  
imports: import contextlib
  import inspect
  import logging
  import time
  from typing import List
  import mlflow
  from mlflow.entities import Metric
  from mlflow.tracking.client import MlflowClient
  from mlflow.utils.validation import MAX_METRICS_PER_BATCH
  from mlflow.utils.autologging_utils.client import MlflowAutologgingQueueingClient
  from mlflow.utils.autologging_utils.events import AutologgingEventLogger
  from mlflow.utils.autologging_utils.logging_and_warnings import set_mlflow_events_and_warnings_behavior_globally, set_non_mlflow_warnings_behavior_for_current_thread
  from mlflow.utils.autologging_utils.safety import ExceptionSafeAbstractClass, ExceptionSafeClass, PatchFunction, exception_safe_function_for_class, is_testing, picklable_exception_safe_function, revert_patches, safe_patch, update_wrapper_extended, with_managed_run
  from mlflow.utils.autologging_utils.versioning import FLAVOR_TO_MODULE_NAME_AND_VERSION_INFO_KEY, get_min_max_version_and_pip_release, is_flavor_supported_for_associated_package_versions
label_desc: Use image node_id 14 for calling a global function with example usage: get_method_call_arg_value(arg_index, arg_name, default_value, call_pos_args, call_kwargs) and returns: call_kwargs, call_pos_args, default_value