Skip to content
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

Simplify component init interface #819

Merged
merged 5 commits into from
Jan 29, 2024

Conversation

PhilippeMoussalli
Copy link
Contributor

Removes the need to having to define **kwargs when the user defines the component __init__ function. This was needed before to pass the the produces and consumes to some read/write components without the user having to explicitly define them. This was resolved by removing those two arguments from the component signature.

Tested on a pipeline with load/write components.

@PhilippeMoussalli PhilippeMoussalli requested review from RobbeSneyders, mrchtr and GeorgesLorre and removed request for RobbeSneyders and mrchtr January 26, 2024 15:02
@PhilippeMoussalli PhilippeMoussalli force-pushed the simplify_component_init_interface branch 2 times, most recently from a346a3d to 7ba0ad1 Compare January 26, 2024 15:14
Copy link
Collaborator

@GeorgesLorre GeorgesLorre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and easy

@PhilippeMoussalli PhilippeMoussalli merged commit d97246d into main Jan 29, 2024
11 checks passed
@PhilippeMoussalli PhilippeMoussalli deleted the simplify_component_init_interface branch January 29, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants