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

Support passing Hera Parameter/ModelParameter as dictionary input to tasks #937

Merged
merged 4 commits into from
Feb 7, 2024

Conversation

flaviuvadan
Copy link
Collaborator

@flaviuvadan flaviuvadan commented Jan 18, 2024

Pull Request Checklist

See #923

@flaviuvadan flaviuvadan added semver:patch A change requiring a patch version bump type:bug A general bug labels Jan 18, 2024
@flaviuvadan flaviuvadan enabled auto-merge (squash) January 18, 2024 22:29
src/hera/workflows/_mixins.py Outdated Show resolved Hide resolved
src/hera/workflows/_mixins.py Outdated Show resolved Hide resolved
@elliotgunton
Copy link
Collaborator

May I suggest a test or two? 👀

Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f817c65) 81.5% compared to head (efb9794) 81.6%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #937   +/-   ##
=====================================
  Coverage   81.5%   81.6%           
=====================================
  Files         52      52           
  Lines       4091    4098    +7     
  Branches     851     854    +3     
=====================================
+ Hits        3337    3344    +7     
  Misses       562     562           
  Partials     192     192           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

auto-merge was automatically disabled January 22, 2024 16:44

Merge queue setting changed

flaviuvadan and others added 3 commits February 7, 2024 11:49
Signed-off-by: Flaviu Vadan <flaviuvadan@gmail.com>
…uments input

Signed-off-by: Flaviu Vadan <flaviuvadan@gmail.com>
Signed-off-by: Elliot Gunton <egunton@bloomberg.net>
* Argument Parameters should take the dict key as its name, rather than
the Parameter/ModelParameter's name
* Add tests

Signed-off-by: Elliot Gunton <egunton@bloomberg.net>
@elliotgunton elliotgunton merged commit 34d1569 into main Feb 7, 2024
22 checks passed
@elliotgunton elliotgunton deleted the fv/923 branch February 7, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove the need to write .value on Parameters passed to arguments
2 participants