Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据 Celery 文档,您可以调用这样的任务:
my_task.delay(...)
在我的 IDE (PyCharm) 中,delay()IDE 内省不知道该方法。
delay()
这意味着我没有自动完成功能,也无法delay()轻松跳转到(在 celery 代码中)的实现。
有没有办法像这样调用我的函数?
delay(my_task, ...)