Skip to content

Commit f7aaaea

Browse files
committed
Fix typo in patch_elements overloads. fix #21
1 parent 0bce977 commit f7aaaea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/datastar_py/sse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def patch_elements(
6767
*,
6868
selector: str,
6969
mode: Literal[consts.ElementPatchMode.REMOVE],
70-
use_view_transitions: bool | None = None,
70+
use_view_transition: bool | None = None,
7171
event_id: str | None = None,
7272
retry_duration: int | None = None,
7373
) -> DatastarEvent: ...
@@ -78,7 +78,7 @@ def patch_elements(
7878
elements: str | _HtmlProvider,
7979
selector: str | None = None,
8080
mode: consts.ElementPatchMode | None = None,
81-
use_view_transitions: bool | None = None,
81+
use_view_transition: bool | None = None,
8282
event_id: str | None = None,
8383
retry_duration: int | None = None,
8484
) -> DatastarEvent: ...

0 commit comments

Comments
 (0)