diff --git a/royalnet/royaltyping/__init__.py b/royalnet/royaltyping/__init__.py index 4372f887..554710dc 100644 --- a/royalnet/royaltyping/__init__.py +++ b/royalnet/royaltyping/__init__.py @@ -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` 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`. -"""