文件操作 - ctx.cpython-311.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/flask/__pycache__/ctx.cpython-311.pyc
编辑文件内容
� �j�b: � �r � d dl Z d dlZd dlZd dlmZ d dlmZ d dlm Z ddl mZ ddlm Z ddlmZ dd lmZ dd lmZ ej rddlmZ ddlmZ dd lmZ e� � Z G d� d� � Zdej dej fd�Zdej dej fd�Zde fd�Z!de fd�Z" G d� d� � Z# G d� d� � Z$dS )� N)�update_wrapper)� TracebackType)� HTTPException� )�typing)�_cv_app)�_cv_request)�appcontext_popped)�appcontext_pushed)�Flask)�SessionMixin)�Requestc �. � e Zd ZdZdedej fd�Zdedej ddfd�Zdeddfd�Z dded ej ej dej fd �Zefded ej dej fd�Z dded ej dej fd�Zd edefd�Zdej e fd�Zdefd�ZdS )�_AppCtxGlobalsa� A plain object. Used as a namespace for storing data during an application context. Creating an app context automatically creates this object, which is made available as the :data:`g` proxy. .. describe:: 'key' in g Check whether an attribute is present. .. versionadded:: 0.10 .. describe:: iter(g) Return an iterator over the attribute names. .. versionadded:: 0.10 �name�returnc �Z � | j | S # t $ r t |� � d �w xY w�N��__dict__�KeyError�AttributeError��selfr s �+/usr/lib/python3/dist-packages/flask/ctx.py�__getattr__z_AppCtxGlobals.__getattr__0 s? � � 1��=��&�&��� 1� 1� 1� ��&�&�D�0� 1���s � �*�valueNc � � || j |<