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

Improve runtime parameter definition #372

Merged
merged 6 commits into from
Mar 4, 2024

Conversation

gabrielmbmb
Copy link
Member

Description

This PR adds a new typing.Annotated called RuntimeParameter that can be used to mark a Step attribute as a runtime parameter. This replaces the old method of adding extra keyword arguments to the process method of the Step, which was confusing because in some cases these arguments were not used at all by the process function and instead they were being used in other methods.

@gabrielmbmb gabrielmbmb added the enhancement New feature or request label Mar 4, 2024
@gabrielmbmb gabrielmbmb added this to the 1.0.0 milestone Mar 4, 2024
@gabrielmbmb gabrielmbmb self-assigned this Mar 4, 2024
@gabrielmbmb gabrielmbmb merged commit 797cac1 into core-refactor Mar 4, 2024
4 checks passed
@gabrielmbmb gabrielmbmb deleted the better_runtime_parameters branch March 4, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant