pip install zenml
run.py
file with a basic workflow:1from zenml import step, pipeline
2
3
4@step
5def basic_step() -> str:
6 """A simple step that returns a greeting message."""
7 return "Hello World!"
8
9
10@pipeline
11def basic_pipeline():
12 """A simple pipeline with just one step."""
13 basic_step()
14
15
16if __name__ == "__main__":
17 basic_pipeline()
python run.py