Format: application/x-python-code
1 o
2
3 D'h; � @ s0 d dl mZ d dlZd dlZd dlZd dlmZ d dlm Z d dl
4 mZ ddlmZ
5 ddlmZ dd lmZ dd
6 lmZ ddlmZ ejr]d dlmZ dd
7 lmZ ddlmZ ddlmZ e� ZG dd� d�Zd%dd�Z ej!dej"dej#f d�Z$d&dd�Z%d'dd�Z&d'dd �Z'G d!d"� d"�Z(G d#d$� d$�Z)dS )(� )�annotationsN)�update_wrapper)�
8 TracebackType)�
9 HTTPException� )�typing)�_cv_app)�_cv_request)�appcontext_popped)�appcontext_pushed)�WSGIEnvironment)�Flask)�SessionMixin)�Requestc @ sr e Zd ZdZd dd�Zd!d
10 d�Zd"dd
11 �Zd#d$dd�Zefd%dd�Z d#d%dd�Z
12 d&dd�Zd'dd�Zd(dd�Z
13 dS ))�_AppCtxGlobalsa� A plain object. Used as a namespace for storing data during an
14 application context.
15
16 Creating an app context automatically creates this object, which is
17 made available as the :data:`g` proxy.
18
19 .. describe:: 'key' in g
20
21 Check whether an attribute is present.
22
23 .. versionadded:: 0.10
24
25 .. describe:: iter(g)
26
27 Return an iterator over the attribute names.
28
29 .. versionadded:: 0.10
30 �name�str�return�t.Anyc C s&