clean up imports
This commit is contained in:
parent
8b23dec322
commit
fa13ad8849
|
@ -1,7 +1,5 @@
|
||||||
import asyncio
|
|
||||||
from mimetypes import guess_type
|
from mimetypes import guess_type
|
||||||
from os import path
|
from os import path
|
||||||
from inspect import isawaitable
|
|
||||||
from ujson import dumps as json_dumps
|
from ujson import dumps as json_dumps
|
||||||
|
|
||||||
from aiofiles import open as open_async
|
from aiofiles import open as open_async
|
||||||
|
|
|
@ -21,7 +21,6 @@ except ImportError:
|
||||||
|
|
||||||
from sanic.log import log
|
from sanic.log import log
|
||||||
from sanic.request import Request
|
from sanic.request import Request
|
||||||
from sanic.response import StreamingHTTPResponse
|
|
||||||
from sanic.exceptions import (
|
from sanic.exceptions import (
|
||||||
RequestTimeout, PayloadTooLarge, InvalidUsage, ServerError)
|
RequestTimeout, PayloadTooLarge, InvalidUsage, ServerError)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user