Open achimnol opened 1 year ago
Attention: Patch coverage is 71.80617%
with 64 lines
in your changes missing coverage. Please review.
Project coverage is 74.00%. Comparing base (
75ac9e3
) to head (5647a22
). Report is 4 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
src/aiotools/taskcontext.py | 55.43% | 41 Missing :warning: |
src/aiotools/taskscope.py | 87.38% | 14 Missing :warning: |
src/aiotools/utils.py | 35.71% | 9 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds
TaskContext
andTaskScope
to reuse the core concepts and logics for structured concurrency inSupervisor
and other coroutine aggregation utilities likeas_completed_safe()
,gather_safe()
, andrace()
.