🐛 fix typing error for logger wrapper

This commit is contained in:
yanyongyu 2022-01-30 15:03:10 +08:00
parent ea188cb948
commit 60ccdf8a7a
No known key found for this signature in database
GPG Key ID: 796D8A7FB73396EB

View File

@ -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 的日志。
参数: