Commit 6405ebc
Allow using non-true values in app kwargs
Trying to instantiate Celery app with non-true kwargs will not work
for those configs which have True as default, for example,
this will not have effect:
>>> app = Celery(task_create_missing_queues=False)
>>> app.conf['task_create_missing_queues']
True
This fix simply changes the filtering which from now on will discard
None values only.
Fixes: celery#68651 parent b251235 commit 6405ebc
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
278 | 282 | | |
279 | 283 | | |
280 | 284 | | |
| |||
0 commit comments