Code of Conduct
Feature Description
Add JSON serialization methods for Task and TaskResult classes. Both ways, from and to JSON.
Problem
The task framework already enforces call args and kwargs to be JSON serializable. However, there are not handy functions that can serialize and deserialize a TaskResult. This burden currently falls on the backends, which will always be awkward with the frozen dataclasses.
Request or proposal
proposal
Additional Details
No response
Implementation Suggestions
@RealOrangeOne has already done the most homework here. :)
Code of Conduct
Feature Description
Add JSON serialization methods for Task and TaskResult classes. Both ways, from and to JSON.
Problem
The task framework already enforces call args and kwargs to be JSON serializable. However, there are not handy functions that can serialize and deserialize a TaskResult. This burden currently falls on the backends, which will always be awkward with the frozen dataclasses.
Request or proposal
proposal
Additional Details
No response
Implementation Suggestions
@RealOrangeOne has already done the most homework here. :)