Show More
@@ -246,7 +246,10 b' class UNSET(object):' | |||
|
246 | 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 | 254 | if request is not UNSET: |
|
252 | 255 | celery_app.conf.update({'PYRAMID_REQUEST': request}) |
General Comments 0
You need to be logged in to leave comments.
Login now