-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect pipeline attribute during compile/run #398
Conversation
Nice change ! Makes it easier the import string was indeed a bit confusing. Some notes:
|
Thanks Georges!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @PhilippeMoussalli, lgtm. I've just found two small typos in the documentation.
@@ -287,7 +287,7 @@ We add the component to our pipeline definition and specify that it depends on t | |||
We can now easily run our new pipeline: | |||
|
|||
```bash | |||
fondant run pipeline:my_pipeline --local | |||
fondant run pipeline --local |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think one command is outdated here. Either the one in line 142 fondant run pipeline.py --local
or this one.
@@ -139,10 +139,10 @@ Fondant has a feature rich CLI that helps you with these steps. Let's start by r | |||
First of all make sure you have [Docker Compose](https://docs.docker.com/compose/) installed on your system | |||
|
|||
```bash | |||
fondant run pipeline:my_pipeline --local | |||
fondant run pipeline.py --local |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be fondant compile pipeline --local
? Is the .py
needed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
both pipeline
and pipeline.py
refer to a module and can work with a defined pipeline instance. I added .py
here to make it more explicit that we're running an instance defined in a pipeline.py
file
Addresses #375