Skip to content

Commit

Permalink
chore(formatting): deprecation warning text for route handler classes (
Browse files Browse the repository at this point in the history
…#3559)

The deprecation warning is missing a space between "by" and "functional".

When printing to the screen, it would read a single work "byfunctional"
  • Loading branch information
cofin authored Jun 11, 2024
1 parent f40ce6d commit 9dbe790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litestar/handlers/http_handlers/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
class _SubclassWarningMixin:
def __init_subclass__(cls, **kwargs: Any) -> None:
warnings.warn(
"Semantic HTTP route handler classes are deprecated and will be replaced by"
"Semantic HTTP route handler classes are deprecated and will be replaced by "
"functional decorators in Litestar 3.0.",
category=DeprecationWarning,
stacklevel=2,
Expand Down

0 comments on commit 9dbe790

Please sign in to comment.