Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
provinzkraut committed Aug 28, 2024
1 parent b821099 commit 33ded66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions litestar/handlers/http_handlers/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from typing import TYPE_CHECKING, Any, Callable, Mapping, Sequence

from litestar.enums import HttpMethod, MediaType
from litestar.exceptions import HTTPException
from litestar.handlers.http_handlers.base import HTTPRouteHandler
from litestar.openapi.spec import Operation, SecurityRequirement
from litestar.types import (
Expand All @@ -24,14 +25,6 @@
TypeDecodersSequence,
TypeEncodersMap,
)
from litestar.exceptions import HTTPException, ImproperlyConfiguredException
from litestar.openapi.spec import Operation
from litestar.response.file import ASGIFileResponse, File
from litestar.types import Empty, TypeDecodersSequence
from litestar.utils import is_class_and_subclass

from ._utils import is_empty_response_annotation
from .base import HTTPRouteHandler

if TYPE_CHECKING:
from typing import Any, Mapping, Sequence
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_handlers/test_http_handlers/test_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import pytest

from litestar import HttpMethod, Litestar, Response, head
from litestar import Litestar, Response, head
from litestar.exceptions import ImproperlyConfiguredException
from litestar.response.file import ASGIFileResponse, File
from litestar.routes import HTTPRoute
Expand Down

0 comments on commit 33ded66

Please sign in to comment.