zilencer: Mark remote_server_dispatch request argument positional-only.

In the presence of **kwargs, this is required by the Concatenate type
expected by default_never_cache_responses.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-09-19 13:21:56 -07:00 committed by Anders Kaseorg
parent 4db6c51fb1
commit 8dd72497a7
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ def authenticated_remote_server_view(
@default_never_cache_responses
@csrf_exempt
def remote_server_dispatch(request: HttpRequest, **kwargs: Any) -> HttpResponse:
def remote_server_dispatch(request: HttpRequest, /, **kwargs: Any) -> HttpResponse:
result = get_target_view_function_or_response(request, kwargs)
if isinstance(result, HttpResponse):
return result