Skip to content

Commit

Permalink
fix: slotscheck
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Nov 30, 2024
1 parent a0fd026 commit bfc31e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pre-commit: ## Runs pre-commit hooks; includes ruff formatting and lin
.PHONY: slotscheck
slotscheck: ## Run slotscheck
@echo "=> Running slotscheck"
@uv run slotscheck
@uv run slotscheck -m litestar_vite
@echo "=> slotscheck complete"

.PHONY: fix
Expand Down
12 changes: 1 addition & 11 deletions src/py/litestar_vite/inertia/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,7 @@ def partial_keys(self) -> list[str]:
class InertiaRequest(Request[UserT, AuthT, StateT]):
"""Inertia Request class to work with Inertia client."""

__slots__ = (
"_accept",
"_body",
"_content_type",
"_form",
"_json",
"_msgpack",
"inertia",
"is_connected",
"supports_push_promise",
)
__slots__ = ("inertia",)

def __init__(self, scope: Scope, receive: Receive = empty_receive, send: Send = empty_send) -> None:
"""Initialize :class:`InertiaRequest`"""
Expand Down

0 comments on commit bfc31e3

Please sign in to comment.