> For the complete documentation index, see [llms.txt](https://yeasy.gitbook.io/openstack_code_neutron/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yeasy.gitbook.io/openstack_code_neutron/neutron/openstack/common/contextpy.md).

# context.py

定义类RequestContext，代表在request上下文中的有用信息，包括用户名、租户、认证信息等等。

还定义了两个全局方法get\_admin\_context()和get\_context\_from\_function\_and\_args()。
