OpenStack Context library
Go to file
Michael Johnson 8290621b05 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
2021-08-12 20:14:34 +00:00
doc Ussuri+ is python3 only and update python to python3 2021-05-06 10:19:03 +08:00
oslo_context Fix context from_dict() for system_scope 2021-08-12 20:14:34 +00:00
releasenotes Fix context from_dict() for system_scope 2021-08-12 20:14:34 +00: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 OpenDev Migration Patch 2019-04-19 19:43:09 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00
.pre-commit-config.yaml Move flake8 as a pre-commit local target. 2021-03-23 13:08:17 +01:00
.stestr.conf Switch to stestr 2018-07-04 08:30:19 +07:00
.zuul.yaml Add Python3 xena unit tests 2021-03-18 11:16:13 +00: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 setup.cfg: Replace dashes with underscores 2021-05-14 15:37:00 +08:00
setup.py remove outdated header 2020-02-10 18:31:18 +01:00
test-requirements.txt Adding pre-commit 2020-09-08 14:01:06 +02:00
tox.ini Merge "Use py3 as the default runtime for tox" 2021-04-16 13:26:01 +00: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