Closed quizmoon closed 5 months ago
True. Will add soon.
Look, I've checked the code and you can do so already. You can set custom serializers in the constructor.
@s3rius , in the backend part it is hardcoded, e.g in "set_result":
redis_set_params: Dict[str, Union[str, bytes, int]] = {
"name": task_id,
"value": pickle.dumps(result),
}
I see now. Accidentally skipped it. We will add a new parameter to the constructor.
Would be great to have custom serializers in set/get results, or at least JSON, like it is implemented in the main project TaskIQ.