令参数符合标准

This commit is contained in:
hemengyang
2022-01-12 18:31:12 +08:00
parent a5f32febbd
commit 456d333568
17 changed files with 85 additions and 170 deletions

View File

@ -33,8 +33,7 @@ def escape_tag(s: str) -> str:
"""
用于记录带颜色日志时转义 `<tag>` 类型特殊标签
:参数:
参数:
s: 需要转义的字符串
:返回:
@ -90,8 +89,7 @@ def run_sync(call: Callable[P, R]) -> Callable[P, Awaitable[R]]:
"""
一个用于包装 sync function 为 async function 的装饰器
:参数:
参数:
call: 被装饰的同步函数
:返回: