I recently started working with celery and quickly started facing issue using this with async function like ‘Coroutines are not JSON serialisation’
My task includes a batch processing task with runs based on the client input. And i was using asyncio with semaphore. But was not able to use retry with that.
So Does celery works well with async functions or synchronous functions are generally used with celery?
submitted by /u/John-Doe-99
[link] [comments]
r/learnpython I recently started working with celery and quickly started facing issue using this with async function like ‘Coroutines are not JSON serialisation’ My task includes a batch processing task with runs based on the client input. And i was using asyncio with semaphore. But was not able to use retry with that. So Does celery works well with async functions or synchronous functions are generally used with celery? submitted by /u/John-Doe-99 [link] [comments]
I recently started working with celery and quickly started facing issue using this with async function like ‘Coroutines are not JSON serialisation’
My task includes a batch processing task with runs based on the client input. And i was using asyncio with semaphore. But was not able to use retry with that.
So Does celery works well with async functions or synchronous functions are generally used with celery?
submitted by /u/John-Doe-99
[link] [comments]