💡 add adapter docstring

This commit is contained in:
yanyongyu
2022-01-20 14:49:46 +08:00
parent 98ef09585a
commit aef585c60c
7 changed files with 115 additions and 98 deletions

View File

@ -1,7 +1,6 @@
"""
## 协议适配基类
"""本模块定义了协议适配基类,各协议请继承以下基类。
各协议请继承以下基类,并使用 `driver.register_adapter` 注册适配器
使用 {ref}`nonebot.drivers.Driver.register_adapter` 注册适配器
"""
from typing import Iterable