Hacker News new | ask | show | jobs
by rartichoke 4517 days ago
Does anyone else feel weird knowing that when you call that model method it may or may not call out to a background worker task?

Why not just throw all of your celery tasks that are related to an app inside of a worker.py file or something else?

If you import from service.py or worker.py then it becomes obvious the thing you're doing is happening in the background.