From 5f96afd5a7655a3e2c44b06d54615413587180d2 Mon Sep 17 00:00:00 2001 From: Elaina Date: Tue, 27 Aug 2024 19:35:20 +0800 Subject: [PATCH] fix: wrong type --- src/graia/ariadne/util/validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graia/ariadne/util/validator.py b/src/graia/ariadne/util/validator.py index a2b7aa97..6fcb8551 100644 --- a/src/graia/ariadne/util/validator.py +++ b/src/graia/ariadne/util/validator.py @@ -79,7 +79,7 @@ class CertainMember(Certain): def __init__( self, member: SequenceOrInstance[Union[Member, int]], - group: Optional[SequenceOrInstance[Union[Member, int]]] = None, + group: Optional[SequenceOrInstance[Union[Group, int]]] = None, ): """ Args: