diff options
Diffstat (limited to 'oslo_context/context.py')
-rw-r--r-- | oslo_context/context.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oslo_context/context.py b/oslo_context/context.py index 0238533..d3da603 100644 --- a/oslo_context/context.py +++ b/oslo_context/context.py @@ -31,6 +31,8 @@ import itertools import threading import uuid +from positional import positional + _request_store = threading.local() @@ -68,6 +70,7 @@ class RequestContext(object): user_idt_format = u'{user} {tenant} {domain} {user_domain} {p_domain}' + @positional(enforcement=positional.WARN) def __init__(self, auth_token=None, user=None, tenant=None, domain=None, user_domain=None, project_domain=None, is_admin=False, read_only=False, show_deleted=False, request_id=None, |