|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /lib64/python2.7/site-packages/flask/ |
Upload File : |
�
-/�_c @ s� d Z d d l m Z d d l m Z d d l m Z d Z d Z d � Z d � Z d � Z
e � Z e � Z e e
� Z
e e e d
� � Z e e e d � � Z e e e d � � Z d
S( s�
flask.globals
~~~~~~~~~~~~~
Defines all the global objects that are proxies to the current
active context.
:copyright: 2010 Pallets
:license: BSD-3-Clause
i����( t partial( t
LocalProxy( t
LocalStacks� Working outside of request context.
This typically means that you attempted to use functionality that needed
an active HTTP request. Consult the documentation on testing for
information about how to avoid this problem.s! Working outside of application context.
This typically means that you attempted to use functionality that needed
to interface with the current application object in some way. To solve
this, set up an application context with app.app_context(). See the
documentation for more information.c C s1 t j } | d k r$ t t � � n t | | � S( N( t _request_ctx_stackt topt Nonet RuntimeErrort _request_ctx_err_msgt getattr( t nameR ( ( s. /tmp/pip-install-sTXtzD/flask/flask/globals.pyt _lookup_req_object# s c C s1 t j } | d k r$ t t � � n t | | � S( N( t _app_ctx_stackR R R t _app_ctx_err_msgR ( R R ( ( s. /tmp/pip-install-sTXtzD/flask/flask/globals.pyt _lookup_app_object* s c C s+ t j } | d k r$ t t � � n | j S( N( R R R R R t app( R ( ( s. /tmp/pip-install-sTXtzD/flask/flask/globals.pyt _find_app1 s t requestt sessiont gN( t __doc__t functoolsR t werkzeug.localR R R R R
R
R R R t current_appR R R ( ( ( s. /tmp/pip-install-sTXtzD/flask/flask/globals.pyt <module> s