We stop unwrapping task functions until coiled.function.Function. This is necessary for pytask-parallel and it is debatable whether the code belongs here, but it avoids a lot of code duplication for now.
Maybe it should be made more extensible to other stopping criteria in the future.
Changes
We stop unwrapping task functions until
coiled.function.Function
. This is necessary for pytask-parallel and it is debatable whether the code belongs here, but it avoids a lot of code duplication for now.Maybe it should be made more extensible to other stopping criteria in the future.