-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add compile and run interface to kfp based runners #704
Conversation
src/fondant/pipeline/runner.py
Outdated
self._run(output_path) | ||
else: | ||
self._run(input) |
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 we should pass the experiment_name
here as well?
@@ -92,11 +97,37 @@ def _resolve_imports(self): | |||
) | |||
|
|||
def run( |
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.
Can't help but notice that the flow of this method is the same for every runner. Might be worth it to lift it to the base Runner
class. Up to you.
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 had the same idea when commuting home, will also make testing a lot easier
src/fondant/pipeline/runner.py
Outdated
@@ -121,7 +121,7 @@ def run( | |||
) | |||
self._run(output_path) |
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 it be added here as well? :)
54ba090
to
e4103c6
Compare
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 @GeorgesLorre!
No description provided.