code: def _prepare_metadata(self, func, action, feature, *args, **kwargs):
      _action = action or func.__name__
      _args, _flags = self._get_func_arguments_to_log(
          self, func, *args, **kwargs
      )
  
      metadata = {"action": _action, "feature": feature}
  
      if len(_args) > 0:
          metadata["args"] = _args
  
      if len(_flags) > 0:
          metadata["flags"] = _flags
  
      return metadata
  
file_path: sklearn-evaluation/src/sklearn_evaluation/telemetry.py
imports: from functools import wraps
  import inspect
  from inspect import signature
  from ploomber_core.telemetry.telemetry import Telemetry
label_desc: Use image node_id 6 for calling the SKLearnEvaluationLogger obj's underlying member method code with example usage: obj._prepare_metadata(func, action, feature) and returns: metadata