Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branches:
- main

concurrency:
group: test-${{ github.head_ref }}
cancel-in-progress: true

jobs:
validate:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion litestar_htmx/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def on_app_init(self, app_config: AppConfig) -> AppConfig:
Returns:
The application configuration with the message callable registered.
"""
app_config.request_class = HTMXRequest
if app_config.request_class is None:
app_config.request_class = HTMXRequest
app_config.signature_types = [
HTMXRequest,
ClientRedirect,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ maintainers = [
name = "litestar-htmx"
readme = "README.md"
requires-python = ">=3.8, <4.0"
version = "0.2.3"
version = "0.2.4"

[build-system]
build-backend = "hatchling.build"
Expand Down