Commit cdd5eb6
committed
Use
Previously, `@shared_task` was preferred by Resonant, but I realized
that `@app.task` will be able to provide better typechecking.
`@shared_task` is essential only for reusable apps (and `core` isn't
reusable). I'll make an upstream change to the Resonant
cookiecutter to prefer `@app.task` too.@app.task instead of @shared_task
1 parent a01e626 commit cdd5eb6
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments