From c76640f8df7a32be4b506019ef4680098c6b5a47 Mon Sep 17 00:00:00 2001 From: Pratap Vardhan Date: Tue, 10 Dec 2024 21:53:00 +0530 Subject: [PATCH] CLN: remove hx_replace_url repeated key --- fasthtml/components.py | 1 - nbs/api/01_components.ipynb | 1 - 2 files changed, 2 deletions(-) diff --git a/fasthtml/components.py b/fasthtml/components.py index 869e10f6..bf6ac766 100644 --- a/fasthtml/components.py +++ b/fasthtml/components.py @@ -50,7 +50,6 @@ def show(ft,*rest): "hx_disabled_elt": Literal["this", "next", "previous"] | str, "hx_history": Literal["false"] | str, "hx_params": Literal["*", "none"] | str, - "hx_replace_url": Literal["true", "false"] | str, "hx_validate": Literal["true", "false"], } hx_attrs_annotations |= {o: str for o in set(hx_attrs) - set(hx_attrs_annotations.keys())} diff --git a/nbs/api/01_components.ipynb b/nbs/api/01_components.ipynb index a2058b27..fb97ad4c 100644 --- a/nbs/api/01_components.ipynb +++ b/nbs/api/01_components.ipynb @@ -145,7 +145,6 @@ " \"hx_disabled_elt\": Literal[\"this\", \"next\", \"previous\"] | str, \n", " \"hx_history\": Literal[\"false\"] | str,\n", " \"hx_params\": Literal[\"*\", \"none\"] | str,\n", - " \"hx_replace_url\": Literal[\"true\", \"false\"] | str, \n", " \"hx_validate\": Literal[\"true\", \"false\"],\n", "}\n", "hx_attrs_annotations |= {o: str for o in set(hx_attrs) - set(hx_attrs_annotations.keys())}\n",