mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +00:00
🧹 Remove obsolete Adventure types
This commit is contained in:
parent
8c7726f95b
commit
727ecd040a
1 changed files with 0 additions and 43 deletions
|
@ -31,46 +31,3 @@ JSON = Union[
|
||||||
A recursive JSON value: either a :data:`.JSONScalar`, or a :class:`list` of :data:`.JSON` objects, or a :class:`dict`
|
A recursive JSON value: either a :data:`.JSONScalar`, or a :class:`list` of :data:`.JSON` objects, or a :class:`dict`
|
||||||
of :class:`str` to :data:`.JSON` mappings.
|
of :class:`str` to :data:`.JSON` mappings.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
Adventure = Generator[
|
|
||||||
Union[
|
|
||||||
Tuple[
|
|
||||||
Optional["Challenge"],
|
|
||||||
...
|
|
||||||
],
|
|
||||||
"Adventure",
|
|
||||||
"Challenge",
|
|
||||||
None,
|
|
||||||
],
|
|
||||||
Any,
|
|
||||||
Any,
|
|
||||||
]
|
|
||||||
"""
|
|
||||||
A generator yielding either:
|
|
||||||
|
|
||||||
* a :class:`tuple` of a :class:`.Challenge` and extra data;
|
|
||||||
* a single :class:`.Challenge`;for SQLAlchemy.
|
|
||||||
* another :data:`.Adventure`;
|
|
||||||
* :data:`None`.
|
|
||||||
"""
|
|
||||||
|
|
||||||
AsyncAdventure = AsyncGenerator[
|
|
||||||
Union[
|
|
||||||
Tuple[
|
|
||||||
Optional["AsyncChallenge"],
|
|
||||||
...
|
|
||||||
],
|
|
||||||
"AsyncAdventure",
|
|
||||||
"AsyncChallenge",
|
|
||||||
None,
|
|
||||||
],
|
|
||||||
Any,
|
|
||||||
]
|
|
||||||
"""
|
|
||||||
An async generator yielding either:
|
|
||||||
|
|
||||||
* a :class:`tuple` of an :class:`.AsyncChallenge` and extra data;
|
|
||||||
* a single :class:`.AsyncChallenge`;
|
|
||||||
* another :data:`.AsyncAdventure`;
|
|
||||||
* :data:`None`.
|
|
||||||
"""
|
|
||||||
|
|
Loading…
Reference in a new issue