Skip to content

Commit 82224db

Browse files
committed
lint
1 parent 9fa7922 commit 82224db

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

shiny/bookmark/_bookmark.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,9 @@ def _restore_context(self) -> RestoreContext | None:
726726
return self._root_bookmark._restore_context
727727

728728
async def update_query_string(
729-
self, query_string: str, mode: Literal["replace", "push"] = "replace"
729+
self,
730+
query_string: Optional[str] = None,
731+
mode: Literal["replace", "push"] = "replace",
730732
) -> None:
731733
await self._root_bookmark.update_query_string(query_string, mode)
732734

@@ -772,7 +774,9 @@ def on_bookmarked(
772774
return lambda: None
773775

774776
async def update_query_string(
775-
self, query_string: str, mode: Literal["replace", "push"] = "replace"
777+
self,
778+
query_string: Optional[str] = None,
779+
mode: Literal["replace", "push"] = "replace",
776780
) -> None:
777781
# no-op within ExpressStub
778782
return None

0 commit comments

Comments
 (0)