Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
documentation: Make get compatible with the supertype.
Zixuan James Li32af240af3d2
diff --git a/zerver/views/documentation.py b/zerver/views/documentation.pyindex a039aa96fdf..dcb805b4ce3 100644--- a/zerver/views/documentation.py+++ b/zerver/views/documentation.py@@ -223,7 +223,9 @@ class MarkdownDirectoryView(ApiURLView):add_google_analytics_context(context)return context- def get(self, request: HttpRequest, article: str = "") -> HttpResponse:+ def get(+ self, request: HttpRequest, *args: object, article: str = "", **kwargs: object+ ) -> HttpResponse:# Hack: It's hard to reinitialize urls.py from tests, and so# we want to defer the use of settings.POLICIES_DIRECTORY to# runtime.