feat: easier websocket interface annotation (#2438)

This commit is contained in:
Ryu juheon
2022-04-24 19:32:13 +09:00
committed by GitHub
parent cc97287f8e
commit 3a6cc7389c

View File

@@ -4,6 +4,7 @@ from sanic.blueprints import Blueprint
from sanic.constants import HTTPMethod
from sanic.request import Request
from sanic.response import HTTPResponse, html, json, text
from sanic.server.websockets.impl import WebsocketImplProtocol as Websocket
__all__ = (
@@ -13,6 +14,7 @@ __all__ = (
"HTTPMethod",
"HTTPResponse",
"Request",
"Websocket",
"html",
"json",
"text",