Source code for simpleml.pipelines.ordered_dict.base

"""
Base native python pipeline wrapper
"""

[docs]__author__ = "Elisha Yadgaran"
import logging from typing import Any, List from simpleml.pipelines.base_pipeline import Pipeline from .external_pipeline import OrderedDictExternalPipeline
[docs]LOGGER = logging.getLogger(__name__)
[docs]class OrderedDictPipeline(Pipeline): """ Native python dict pipeline implementation """
[docs] def _create_external_pipeline( self, transformers: List[Any], **kwargs ) -> OrderedDictExternalPipeline: return OrderedDictExternalPipeline(transformers)