<s> """<STR_LIT>""" <EOL> from functools import partial <EOL> from werkzeug import LocalStack , LocalProxy <EOL> def _lookup_object ( name ) : <EOL> top = _request_ctx_stack . top <EOL> if top is None : <EOL> raise RuntimeError ( '<STR_LIT>' ) <EOL> return getattr ( top , name ) <EOL> _request_ctx_stack = LocalStack ( ) <EOL> current_app = LocalProxy ( partial ( _lookup_object , '<STR_LIT>' ) ) <EOL> request = LocalProxy ( partial ( _lookup_object , '<STR_LIT>' ) ) <EOL> session = LocalProxy ( partial ( _lookup_object , '<STR_LIT>' ) ) <EOL> g = LocalProxy ( partial ( _lookup_object , '<STR_LIT:g>' ) ) </s>
