OpenStack Context library
Go to file
Michael Johnson eff2f2f572 Fix context from_dict() for system_scope
A previous patch[1] added "system_scope" to the context for to_dict()
but the from_dict() method was not updated. This caused the
system_scope to always be None.
This patch corrects that by adding "system_scope" to the list of
values that may need to be extracted from the context dict.

[1] https://review.opendev.org/c/openstack/oslo.context/+/530509

Change-Id: Ica23d5c4183a692de3cb65a7ad72b19f47988ca6
(cherry picked from commit 8290621b05)
(cherry picked from commit 7187c672d4)
(cherry picked from commit b124eb7df2)
2021-10-25 15:39:59 +02:00
doc Fix pygments style 2020-06-04 14:34:20 +08:00
oslo_context Fix context from_dict() for system_scope 2021-10-25 15:39:59 +02:00
releasenotes Fix context from_dict() for system_scope 2021-10-25 15:39:59 +02:00
.coveragerc Fix coverage configuration and execution 2015-10-09 16:11:45 -04:00
.gitignore gitignore: Hide reno cache files 2019-12-06 15:09:56 +00:00
.gitreview Update .gitreview for stable/victoria 2020-09-11 20:56:51 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00
.stestr.conf Switch to stestr 2018-07-04 08:30:19 +07:00
.zuul.yaml Dropping lower constraints testing 2021-10-25 15:34:26 +02:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:22:00 +02:00
HACKING.rst Fix URLs according to document migration 2017-07-12 22:46:06 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-30 13:30:33 +08:00
requirements.txt Remove use of positional decorator 2017-08-07 16:11:39 -07:00
setup.cfg Remove translation sections from setup.cfg 2020-05-22 21:02:57 +00:00
setup.py remove outdated header 2020-02-10 18:31:18 +01:00
test-requirements.txt Bump bandit version 2020-07-25 11:31:15 +02:00
tox.ini Dropping lower constraints testing 2021-10-25 15:34:26 +02:00

README.rst

Oslo Context Library

The Oslo context library has helpers to maintain useful information about a request context. The request context is usually populated in the WSGI pipeline and used by various modules such as logging.

Team and repository tags

image

Latest Version

Downloads