mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 04:06:28 +08:00
🐛 fix typing error for logger wrapper
This commit is contained in:
parent
ea188cb948
commit
60ccdf8a7a
@ -148,7 +148,7 @@ class DataclassEncoder(json.JSONEncoder):
|
||||
return super().default(o)
|
||||
|
||||
|
||||
def logger_wrapper(logger_name: str) -> Callable[[str, str, Optional[Exception]], None]:
|
||||
def logger_wrapper(logger_name: str):
|
||||
"""用于打印 adapter 的日志。
|
||||
|
||||
参数:
|
||||
|
Loading…
Reference in New Issue
Block a user