From 9dbe7900b07b13b616d6c50431b63c72bf4bdd52 Mon Sep 17 00:00:00 2001 From: Cody Fincher <204685+cofin@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:06:46 -0500 Subject: [PATCH] chore(formatting): deprecation warning text for route handler classes (#3559) The deprecation warning is missing a space between "by" and "functional". When printing to the screen, it would read a single work "byfunctional" --- litestar/handlers/http_handlers/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litestar/handlers/http_handlers/decorators.py b/litestar/handlers/http_handlers/decorators.py index 655c6d4b26..a89c311037 100644 --- a/litestar/handlers/http_handlers/decorators.py +++ b/litestar/handlers/http_handlers/decorators.py @@ -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,