@pipelinedecorator respectively. This is the API that is used primarily throughout the ZenML docs and examples.
BasePipelinedirectly. Internally, both APIs will result in similar definitions, so it is entirely up to you which API to use.
zenml.steps.BaseStepand implement its
entrypoint()method to perform the logic of the step.
zenml.pipelines.BasePipelineand implementing its
@enable_<INTEGRATION>decorators. Similar to the functional API, you can do this in the class-based API by adding a decorator to your