ebonite.runtime.interface.pipeline module¶
-
class
ebonite.runtime.interface.pipeline.PipelineMeta(pipeline: ebonite.core.objects.core.Pipeline, models: Dict[str, ebonite.core.objects.core.Model])[source]¶ Bases:
object
-
ebonite.runtime.interface.pipeline.pipeline_interface(pipeline_meta: ebonite.core.objects.core.Pipeline)[source]¶ Creates an interface from given pipeline with run method Method signature is determined via metadata associated with given pipeline.
Parameters: pipeline_meta – pipeline to create interface for Returns: instance of Interfaceimplementation
-
class
ebonite.runtime.interface.pipeline.PipelineLoader[source]¶ Bases:
ebonite.runtime.interface.base.InterfaceLoaderImplementation of
InterfaceLoaderwhich loads a pipeline via PyJackson and wraps it into an interface