From 61e17d0de7efc3f908f00276f0da1db9c328e39d Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Wed, 8 Dec 2021 16:46:10 +0800 Subject: [PATCH] :label: fix missing type --- nonebot/exception.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nonebot/exception.py b/nonebot/exception.py index f1e95fd6..44ac6a7e 100644 --- a/nonebot/exception.py +++ b/nonebot/exception.py @@ -127,8 +127,8 @@ class SkippedException(MatcherException): """ def __init__(self, param: ModelField, value: Any): - self.param = param - self.value = value + self.param: ModelField = param + self.value: Any = value def __repr__(self): return f""