fasthx 2.3.2__tar.gz → 2.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fasthx-2.3.2 → fasthx-2.3.3}/PKG-INFO +1 -1
- {fasthx-2.3.2 → fasthx-2.3.3}/fasthx/utils.py +1 -1
- {fasthx-2.3.2 → fasthx-2.3.3}/pyproject.toml +5 -1
- {fasthx-2.3.2 → fasthx-2.3.3}/LICENSE +0 -0
- {fasthx-2.3.2 → fasthx-2.3.3}/README.md +0 -0
- {fasthx-2.3.2 → fasthx-2.3.3}/fasthx/__init__.py +0 -0
- {fasthx-2.3.2 → fasthx-2.3.3}/fasthx/component_selectors.py +0 -0
- {fasthx-2.3.2 → fasthx-2.3.3}/fasthx/core_decorators.py +0 -0
- {fasthx-2.3.2 → fasthx-2.3.3}/fasthx/dependencies.py +0 -0
- {fasthx-2.3.2 → fasthx-2.3.3}/fasthx/htmy.py +0 -0
- {fasthx-2.3.2 → fasthx-2.3.3}/fasthx/jinja.py +0 -0
- {fasthx-2.3.2 → fasthx-2.3.3}/fasthx/py.typed +0 -0
- {fasthx-2.3.2 → fasthx-2.3.3}/fasthx/typing.py +0 -0
|
@@ -27,7 +27,7 @@ def append_to_signature(func: Callable[P, T], *params: inspect.Parameter) -> Cal
|
|
|
27
27
|
Returns:
|
|
28
28
|
The received function with an extended `__signature__`.
|
|
29
29
|
"""
|
|
30
|
-
signature = inspect.signature(func)
|
|
30
|
+
signature = inspect.signature(func, eval_str=True)
|
|
31
31
|
func.__signature__ = signature.replace(parameters=(*signature.parameters.values(), *params)) # type: ignore[attr-defined]
|
|
32
32
|
return func
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "fasthx"
|
|
3
|
-
version = "2.3.
|
|
3
|
+
version = "2.3.3"
|
|
4
4
|
description = "FastAPI server-side rendering with built-in HTMX support."
|
|
5
5
|
authors = ["Peter Volf <do.volfp@gmail.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -38,6 +38,10 @@ build-backend = "poetry.core.masonry.api"
|
|
|
38
38
|
strict = true
|
|
39
39
|
show_error_codes = true
|
|
40
40
|
|
|
41
|
+
[tool.pyright]
|
|
42
|
+
venvPath = "."
|
|
43
|
+
venv = ".venv"
|
|
44
|
+
|
|
41
45
|
[tool.ruff]
|
|
42
46
|
line-length = 108
|
|
43
47
|
exclude = [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|