code: def _wrap(estimator: SklearnBaseEstimator, method, X, y, **kwargs):
      return getattr(estimator, method)(X, y, **kwargs)
  
imports: from typing import Callable, Union
  import numpy
  from sklearn.base import MetaEstimatorMixin, BaseEstimator, RegressorMixin, ClassifierMixin
  from ..None import remote
  from ..None import tensor
  from .base import BaseEstimator, RegressorMixin, ClassifierMixin
  from .metrics import get_scorer
  from .utils import copy_learned_attributes, check_array
label_desc: Use image node_id 1 for calling a global function with example usage: _wrap(estimator, method, X, y) and returns: getattr