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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: fasthx
3
- Version: 2.3.2
3
+ Version: 2.3.3
4
4
  Summary: FastAPI server-side rendering with built-in HTMX support.
5
5
  License: MIT
6
6
  Author: Peter Volf
@@ -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.2"
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