Show More
@@ -246,7 +246,10 b' class UNSET(object):' | |||||
246 | pass |
|
246 | pass | |
247 |
|
247 | |||
248 |
|
248 | |||
249 | def set_celery_conf(app=UNSET(), root=UNSET(), request=UNSET(), registry=UNSET(), closer=UNSET()): |
|
249 | _unset = UNSET() | |
|
250 | ||||
|
251 | ||||
|
252 | def set_celery_conf(app=_unset, root=_unset, request=_unset, registry=_unset, closer=_unset): | |||
250 |
|
253 | |||
251 | if request is not UNSET: |
|
254 | if request is not UNSET: | |
252 | celery_app.conf.update({'PYRAMID_REQUEST': request}) |
|
255 | celery_app.conf.update({'PYRAMID_REQUEST': request}) |
General Comments 0
You need to be logged in to leave comments.
Login now