feat: easier websocket interface annotation (#2438)
This commit is contained in:
parent
cc97287f8e
commit
3a6cc7389c
|
@ -4,6 +4,7 @@ from sanic.blueprints import Blueprint
|
||||||
from sanic.constants import HTTPMethod
|
from sanic.constants import HTTPMethod
|
||||||
from sanic.request import Request
|
from sanic.request import Request
|
||||||
from sanic.response import HTTPResponse, html, json, text
|
from sanic.response import HTTPResponse, html, json, text
|
||||||
|
from sanic.server.websockets.impl import WebsocketImplProtocol as Websocket
|
||||||
|
|
||||||
|
|
||||||
__all__ = (
|
__all__ = (
|
||||||
|
@ -13,6 +14,7 @@ __all__ = (
|
||||||
"HTTPMethod",
|
"HTTPMethod",
|
||||||
"HTTPResponse",
|
"HTTPResponse",
|
||||||
"Request",
|
"Request",
|
||||||
|
"Websocket",
|
||||||
"html",
|
"html",
|
||||||
"json",
|
"json",
|
||||||
"text",
|
"text",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user