diff --git a/litestar/contrib/htmx/response.py b/litestar/contrib/htmx/response.py index 2752e8ef42..9daca30339 100644 --- a/litestar/contrib/htmx/response.py +++ b/litestar/contrib/htmx/response.py @@ -34,10 +34,10 @@ def __getattr__(attr_name: str) -> object: if attr_name in __all__: - from litestar_htmx import _utils as utils + import litestar_htmx module = "litestar.plugins.htmx" - value = globals()[attr_name] = getattr(utils, attr_name) + value = globals()[attr_name] = getattr(litestar_htmx, attr_name) warn_deprecation( deprecated_name=f"litestar.contrib.htmx.response.{attr_name}",