Repository navigation
Fixes issue 4768. - #4790
Fixes issue 4768.#4790
Conversation
|
Ah, forgot to run the rest of the tests locally. |
Codecov Report
@@ Coverage Diff @@
## master #4790 +/- ##
=======================================
Coverage 82.77% 82.77%
=======================================
Files 140 140
Lines 15930 15930
Branches 1995 1995
=======================================
Hits 13186 13186
Misses 2546 2546
Partials 198 198
Continue to review full report at Codecov.
|
…uple, and to avoid coverage decrease
|
While testing this I found out about another issue. |
|
Great job. |
* Returning GroupResult's parent as tuple for correct serialization * Adding test task to return a GropuResult * Change assert to check parent is tuple and not the id because of change for issue celery#4768 * Add previously deleted assert to check the parent id is in the rult tuple, and to avoid coverage decrease
* Returning GroupResult's parent as tuple for correct serialization * Adding test task to return a GropuResult * Change assert to check parent is tuple and not the id because of change for issue celery#4768 * Add previously deleted assert to check the parent id is in the rult tuple, and to avoid coverage decrease
PR #4106 added a GroupResult's parent when converting the object to a tuple for easier access.
The parent was being returned as is. The parent needed to be returned as a tuple.
This way the entire result will be serializable.
Fixes issue #4768 by constructing the first value in a
GroupResult'sas_tuplereturn value the same way thatAsyncResultdoes it.