reorder args for api stability

Co-authored-by: Masen Furer <m_github@0x26.net>
This commit is contained in:
Elijah Ahianyo 2024-11-21 11:27:54 +00:00 committed by GitHub
parent b8c4895e1a
commit d3d7257b9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -704,9 +704,9 @@ def server_side(name: str, sig: inspect.Signature, **kwargs) -> EventSpec:
def redirect(
path: str | Var[str],
external: Optional[bool] = None,
is_external: Optional[bool] = None,
replace: bool = False,
external: Optional[bool] = None,
) -> EventSpec:
"""Redirect to a new path.