We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Stash
StashKey
1 parent 6c14139 commit cd585a1Copy full SHA for cd585a1
src/_pytest/stash.py
@@ -19,6 +19,8 @@ class StashKey(Generic[T]):
19
A ``StashKey`` is associated with the type ``T`` of the value of the key.
20
21
A ``StashKey`` is unique and cannot conflict with another key.
22
+
23
+ .. versionadded:: 7.0
24
"""
25
26
__slots__ = ()
@@ -61,6 +63,8 @@ class Stash:
61
63
some_str = stash[some_str_key]
62
64
# The static type of some_bool is bool.
65
some_bool = stash[some_bool_key]
66
67
68
69
70
__slots__ = ("_storage",)
0 commit comments