code: def _order_estimator_mixins(
      cls, base=None, extra=None, type="estimator"
  ):
      mixins = base or ()
      if type in [
          "estimator",
          "classifier",
      ] and _estimator_supports_predict_proba(cls):
          mixins += (H2OEstimatorPredictProbabilitiesSupport,)
      if _estimator_supports_score(cls):
          mixins += (H2OEstimatorScoreSupport,)
      if type in [
          "estimator",
          "transformer",
      ] and _estimator_supports_transform(cls):
          mixins += (H2OEstimatorTransformSupport,)
      if extra:
          mixins += extra
      return mixins
  
imports: import inspect
  from operator import attrgetter
  import sys
  from sklearn.base import ClassifierMixin, RegressorMixin
  from h2o.utils.mixin import register_submodule
  from ..None import automl
  from ..None import estimators
  from ..None import transforms
  from .wrapper import estimator, params_as_h2o_frames, transformer, H2OConnectionMonitorMixin, H2OEstimatorPredictProbabilitiesSupport, H2OEstimatorScoreSupport, H2OEstimatorTransformSupport
label_desc: Use image node_id 7 for calling a global function with example usage: _order_estimator_mixins(cls, base, extra, type) and returns: mixins