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

Syntactic sugar to add a task to the zone #391

Merged
merged 2 commits into from
Dec 13, 2024
Merged

Syntactic sugar to add a task to the zone #391

merged 2 commits into from
Dec 13, 2024

Conversation

superstar54
Copy link
Member

@superstar54 superstar54 commented Dec 13, 2024

Add add_task method to the Zone task.

if_zone = wg.add_task("If")
# Add tasks to the zones
if_zone.add_task(multiply, name="multiply")

@codecov-commenter
Copy link

codecov-commenter commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.68%. Comparing base (8089a67) to head (27df583).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #391      +/-   ##
==========================================
- Coverage   91.68%   91.68%   -0.01%     
==========================================
  Files          67       67              
  Lines        4739     4738       -1     
==========================================
- Hits         4345     4344       -1     
  Misses        394      394              
Flag Coverage Δ
python-3.11 91.64% <100.00%> (-0.01%) ⬇️
python-3.12 91.64% <100.00%> (-0.01%) ⬇️
python-3.9 91.68% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@superstar54 superstar54 merged commit 2b5a3e3 into main Dec 13, 2024
14 of 15 checks passed
@superstar54 superstar54 deleted the zone_add_task branch December 13, 2024 09:31
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