💡 add adapter docstring

This commit is contained in:
yanyongyu
2020-10-01 23:52:56 +08:00
parent 1aac3d562d
commit 3e4dc1a123
4 changed files with 291 additions and 9 deletions

View File

@ -265,7 +265,7 @@ class Bot(BaseBot):
config: Config,
self_id: str,
*,
websocket: WebSocket = None):
websocket: Optional[WebSocket] = None):
if connection_type not in ["http", "websocket"]:
raise ValueError("Unsupported connection type")