关于celery踩坑

celery 异步调用之delay方法


try:
test_send——email.delay(rs_ids, self.id, tenant_id) # delay方法()中不能传对象!!! ,只能传int或者装有int的数组,传对象无法执行异步任务
except Exception:
raise ParameterInvalid('')
原文地址:https://www.cnblogs.com/tangda/p/13808971.html