1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-26 21:14:19 +00:00

Rename Filter to AsyncFilter

This commit is contained in:
Steffo 2022-05-02 15:56:44 +02:00
parent 7534fc7d02
commit 117494e41d
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -35,8 +35,7 @@ A recursive JSON value: either a :data:`.JSONScalar`, or a :class:`list` of :dat
of :class:`str` to :data:`.JSON` mappings.
"""
Filter = Callable[[Any], Awaitable[Any]]
AsyncFilter = Callable[[Any], Awaitable[Any]]
class ConversationProtocol(Protocol):
def __call__(self, **kwargs) -> Awaitable[None]: