-
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
Update metadata #72
Update metadata #72
Conversation
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.
LGTM, thanks! I think you should still resolve some issue with lower test coverage by merging with main
b86014d
to
b049c18
Compare
Don't merge yet as running |
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 @NielsRogge!
Looks good to me, one minor comment.
If you want to test component.run()
, we should mock / monkeypatch some stuff. This will probably come in handy for other tests as well. I added some steps towards this in #74
This PR simplifies the passing of metadata, by only making loading components accept an args.metadata argument that only includes the
run_id
of the pipeline as well as thebase_path
. Transform components don't need a metadata argument anymore as they just update thecomponent_id
which we can get from the component spec (FondantComponentSpec
).Fixes #69