Skip to content

Commit

Permalink
fix: correct import
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Oct 21, 2024
1 parent 33682b1 commit 9b5ba6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litestar/contrib/htmx/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down

0 comments on commit 9b5ba6f

Please sign in to comment.