$96 GRAYBYTE WORDPRESS FILE MANAGER $67

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.217.100
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/_pytest/__pycache__/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/_pytest/__pycache__//stash.cpython-311.pyc
�

�|oi�����ddlmZddlmZddlmZddlmZddlmZddlmZddgZed	��Zed
��Z	Gd�dee��Z
Gd�d��Zd
S)�)�Any)�cast)�Dict)�Generic)�TypeVar)�Union�Stash�StashKey�T�Dc��eZdZdZdZdS)r
z�``StashKey`` is an object used as a key to a :class:`Stash`.

    A ``StashKey`` is associated with the type ``T`` of the value of the key.

    A ``StashKey`` is unique and cannot conflict with another key.
    �N)�__name__�
__module__�__qualname__�__doc__�	__slots__r��_/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/_pytest/stash.pyr
r
s���������I�I�Irc���eZdZdZdZdd�Zdeededdfd�Zdeedefd	�Z	deed
e
deee
ffd�Zdeed
edefd�Z
deeddfd
�Zdeedefd�Zdefd�ZdS)r	a/``Stash`` is a type-safe heterogeneous mutable mapping that
    allows keys and value types to be defined separately from
    where it (the ``Stash``) is created.

    Usually you will be given an object which has a ``Stash``, for example
    :class:`~pytest.Config` or a :class:`~_pytest.nodes.Node`:

    .. code-block:: python

        stash: Stash = some_object.stash

    If a module or plugin wants to store data in this ``Stash``, it creates
    :class:`StashKey`\s for its keys (at the module level):

    .. code-block:: python

        # At the top-level of the module
        some_str_key = StashKey[str]()
        some_bool_key = StashKey[bool]()

    To store information:

    .. code-block:: python

        # Value type must match the key.
        stash[some_str_key] = "value"
        stash[some_bool_key] = True

    To retrieve the information:

    .. code-block:: python

        # The static type of some_str is str.
        some_str = stash[some_str_key]
        # The static type of some_bool is bool.
        some_bool = stash[some_bool_key]
    ��_storage�returnNc��i|_dS)Nr��selfs r�__init__zStash.__init__Ds
��57��
�
�
r�key�valuec��||j|<dS)zSet a value for key.Nr)rrrs   r�__setitem__zStash.__setitem__Gs��"��
�c���rc�B�tt|j|��S)zZGet the value for key.

        Raises ``KeyError`` if the key wasn't set before.
        )rrr�rrs  r�__getitem__zStash.__getitem__Ks��
�A�t�}�S�)�*�*�*r�defaultc�8�	||S#t$r|cYSwxYw)zNGet the value for key, or return default if the key wasn't set
        before.��KeyError�rrr%s   r�getz	Stash.getRs5��	���9����	�	�	��N�N�N�	���s�
��c�B�	||S#t$r
|||<|cYSwxYw)zmReturn the value of key if already set, otherwise set the value
        of key to default and return default.r'r)s   r�
setdefaultzStash.setdefaultZs>��	���9����	�	�	��D��I��N�N�N�	���s�
��c��|j|=dS)z]Delete the value for key.

        Raises ``KeyError`` if the key wasn't set before.
        Nrr#s  r�__delitem__zStash.__delitem__cs��

�M�#���rc��||jvS)zReturn whether key was set.rr#s  r�__contains__zStash.__contains__js���d�m�#�#rc�*�t|j��S)z)Return how many items exist in the stash.)�lenrrs r�__len__z
Stash.__len__ns���4�=�!�!�!r)rN)rrrrrrr
rr!r$rrr*r,r.�boolr0�intr3rrrr	r	sV������$�$�L�I�8�8�8�8�#�x��{�#�1�#��#�#�#�#�+�x��{�+�q�+�+�+�+��x��{��Q��5��A��;������h�q�k��A��!������x��{��t�����$����$��$�$�$�$�"��"�"�"�"�"�"rN)�typingrrrrrr�__all__rrr
r	rrr�<module>r8s���������������������������������������J�
���G�C�L�L���G�C�L�L�������w�q�z����U"�U"�U"�U"�U"�U"�U"�U"�U"�U"r


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
11 Feb 2026 9.30 AM
root / root
0755
__init__.cpython-311.pyc
0.465 KB
20 Jan 2026 1.01 PM
root / root
0644
_argcomplete.cpython-311.pyc
5.241 KB
20 Jan 2026 1.01 PM
root / root
0644
_version.cpython-311.pyc
0.31 KB
20 Jan 2026 1.01 PM
root / root
0644
cacheprovider.cpython-311.pyc
32.439 KB
20 Jan 2026 1.01 PM
root / root
0644
capture.cpython-311.pyc
57.893 KB
20 Jan 2026 1.01 PM
root / root
0644
compat.cpython-311.pyc
16.574 KB
20 Jan 2026 1.01 PM
root / root
0644
debugging.cpython-311.pyc
19.638 KB
20 Jan 2026 1.01 PM
root / root
0644
deprecated.cpython-311.pyc
4.948 KB
20 Jan 2026 1.01 PM
root / root
0644
doctest.cpython-311.pyc
36.359 KB
20 Jan 2026 1.01 PM
root / root
0644
faulthandler.cpython-311.pyc
4.807 KB
20 Jan 2026 1.01 PM
root / root
0644
fixtures.cpython-311.pyc
75.725 KB
20 Jan 2026 1.01 PM
root / root
0644
freeze_support.cpython-311.pyc
2.028 KB
20 Jan 2026 1.01 PM
root / root
0644
helpconfig.cpython-311.pyc
12.782 KB
20 Jan 2026 1.01 PM
root / root
0644
hookspec.cpython-311.pyc
36.463 KB
20 Jan 2026 1.01 PM
root / root
0644
junitxml.cpython-311.pyc
36.438 KB
20 Jan 2026 1.01 PM
root / root
0644
legacypath.cpython-311.pyc
26.702 KB
20 Jan 2026 1.01 PM
root / root
0644
logging.cpython-311.pyc
48.889 KB
20 Jan 2026 1.01 PM
root / root
0644
main.cpython-311.pyc
41.493 KB
20 Jan 2026 1.01 PM
root / root
0644
monkeypatch.cpython-311.pyc
18.079 KB
20 Jan 2026 1.01 PM
root / root
0644
nodes.cpython-311.pyc
34.053 KB
20 Jan 2026 1.01 PM
root / root
0644
nose.cpython-311.pyc
2.285 KB
20 Jan 2026 1.01 PM
root / root
0644
outcomes.cpython-311.pyc
13.476 KB
20 Jan 2026 1.01 PM
root / root
0644
pastebin.cpython-311.pyc
6.155 KB
20 Jan 2026 1.01 PM
root / root
0644
pathlib.cpython-311.pyc
36.268 KB
20 Jan 2026 1.01 PM
root / root
0644
pytester.cpython-311.pyc
93.958 KB
20 Jan 2026 1.01 PM
root / root
0644
pytester_assertions.cpython-311.pyc
2.814 KB
20 Jan 2026 1.01 PM
root / root
0644
python.cpython-311.pyc
87.498 KB
20 Jan 2026 1.01 PM
root / root
0644
python_api.cpython-311.pyc
46.724 KB
20 Jan 2026 1.01 PM
root / root
0644
python_path.cpython-311.pyc
1.754 KB
20 Jan 2026 1.01 PM
root / root
0644
recwarn.cpython-311.pyc
15.683 KB
20 Jan 2026 1.01 PM
root / root
0644
reports.cpython-311.pyc
27.831 KB
20 Jan 2026 1.01 PM
root / root
0644
runner.cpython-311.pyc
24.716 KB
20 Jan 2026 1.01 PM
root / root
0644
scope.cpython-311.pyc
4.317 KB
20 Jan 2026 1.01 PM
root / root
0644
setuponly.cpython-311.pyc
5.339 KB
20 Jan 2026 1.01 PM
root / root
0644
setupplan.cpython-311.pyc
2.075 KB
20 Jan 2026 1.01 PM
root / root
0644
skipping.cpython-311.pyc
14.247 KB
20 Jan 2026 1.01 PM
root / root
0644
stash.cpython-311.pyc
4.792 KB
20 Jan 2026 1.01 PM
root / root
0644
stepwise.cpython-311.pyc
5.984 KB
20 Jan 2026 1.01 PM
root / root
0644
terminal.cpython-311.pyc
76.276 KB
20 Jan 2026 1.01 PM
root / root
0644
threadexception.cpython-311.pyc
4.777 KB
20 Jan 2026 1.01 PM
root / root
0644
timing.cpython-311.pyc
0.644 KB
20 Jan 2026 1.01 PM
root / root
0644
tmpdir.cpython-311.pyc
14.166 KB
20 Jan 2026 1.01 PM
root / root
0644
unittest.cpython-311.pyc
19.835 KB
20 Jan 2026 1.01 PM
root / root
0644
unraisableexception.cpython-311.pyc
4.791 KB
20 Jan 2026 1.01 PM
root / root
0644
warning_types.cpython-311.pyc
7.772 KB
20 Jan 2026 1.01 PM
root / root
0644
warnings.cpython-311.pyc
7.378 KB
20 Jan 2026 1.01 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF