Remove unused import

This commit is contained in:
Adam Hopkins 2022-12-12 15:12:47 +02:00
parent 0c3527b8b2
commit f83553be9e
No known key found for this signature in database
GPG Key ID: 9F85EE6C807303FB

View File

@ -8,11 +8,6 @@ from typing import TYPE_CHECKING
if TYPE_CHECKING: if TYPE_CHECKING:
from sanic import Sanic from sanic import Sanic
try:
from sanic_ext import Extend # type: ignore
except ImportError:
...
def setup_ext(app: Sanic, *, fail: bool = False, **kwargs): def setup_ext(app: Sanic, *, fail: bool = False, **kwargs):
if not app.config.AUTO_EXTEND: if not app.config.AUTO_EXTEND: