prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Easier websocket interface annotation
  Right now, to properly annotate a websocket endpoint you need to do this:
  
  ```python
  from sanic.server.websockets.impl import WebsocketImplProtocol
  from sanic import Request
  
  @app.websocket("")
  async def handler(request: Request, ws: WebsocketImplProtocol):
      ...
  ```
  
  That is not easy or intuitive.
  
  This would be much nicer:
  
  ```python
  from sanic import Request, Websocket
  
  @app.websocket("")
  async def handler(request: Request, ws: Websocket):
      ...
  ```
  
  We should just alias and put it inside `__init__.py` for convenience.
  
  </issue>
  <code>
  [start of sanic/__init__.py]
  1 from sanic.__version__ import __version__
  2 from sanic.app import Sanic
  3 from sanic.blueprints import Blueprint
  4 from sanic.constants import HTTPMethod
  5 from sanic.request import Request
  6 from sanic.response import HTTPResponse, html, json, text
  7 
  8 
  9 __all__ = (
  10     "__version__",
  11     "Sanic",
  12     "Blueprint",
  13     "HTTPMethod",
  14     "HTTPResponse",
  15     "Request",
  16     "html",
  17     "json",
  18     "text",
  19 )
  20
  [end of sanic/__init__.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/sanic/__init__.py b/sanic/__init__.py
  --- a/sanic/__init__.py
  +++ b/sanic/__init__.py
  @@ -4,6 +4,7 @@
   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 @@
       "HTTPMethod",
       "HTTPResponse",
       "Request",
  +    "Websocket",
       "html",
       "json",
       "text",
  
verification_info: {"golden_diff": "diff --git a/sanic/__init__.py b/sanic/__init__.py\n--- a/sanic/__init__.py\n+++ b/sanic/__init__.py\n@@ -4,6 +4,7 @@\n from sanic.constants import HTTPMethod\n from sanic.request import Request\n from sanic.response import HTTPResponse, html, json, text\n+from sanic.server.websockets.impl import WebsocketImplProtocol as Websocket\n \n \n __all__ = (\n@@ -13,6 +14,7 @@\n     \"HTTPMethod\",\n     \"HTTPResponse\",\n     \"Request\",\n+    \"Websocket\",\n     \"html\",\n     \"json\",\n     \"text\",\n", "issue": "Easier websocket interface annotation\nRight now, to properly annotate a websocket endpoint you need to do this:\r\n\r\n```python\r\nfrom sanic.server.websockets.impl import WebsocketImplProtocol\r\nfrom sanic import Request\r\n\r\n@app.websocket(\"\")\r\nasync def handler(request: Request, ws: WebsocketImplProtocol):\r\n    ...\r\n```\r\n\r\nThat is not easy or intuitive.\r\n\r\nThis would be much nicer:\r\n\r\n```python\r\nfrom sanic import Request, Websocket\r\n\r\n@app.websocket(\"\")\r\nasync def handler(request: Request, ws: Websocket):\r\n    ...\r\n```\r\n\r\nWe should just alias and put it inside `__init__.py` for convenience.\n", "before_files": [{"content": "from sanic.__version__ import __version__\nfrom sanic.app import Sanic\nfrom sanic.blueprints import Blueprint\nfrom sanic.constants import HTTPMethod\nfrom sanic.request import Request\nfrom sanic.response import HTTPResponse, html, json, text\n\n\n__all__ = (\n    \"__version__\",\n    \"Sanic\",\n    \"Blueprint\",\n    \"HTTPMethod\",\n    \"HTTPResponse\",\n    \"Request\",\n    \"html\",\n    \"json\",\n    \"text\",\n)\n", "path": "sanic/__init__.py"}]}