From 117494e41d95dd1ca650f607735333b54ba20cdc Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 2 May 2022 15:56:44 +0200 Subject: [PATCH] Rename `Filter` to `AsyncFilter` --- royalnet/royaltyping.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/royalnet/royaltyping.py b/royalnet/royaltyping.py index 3c60cd78..b64302a7 100644 --- a/royalnet/royaltyping.py +++ b/royalnet/royaltyping.py @@ -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]: