From 8a5a13f516948204d19087ebfb92ee4f85c65190 Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Mon, 14 Oct 2024 15:51:06 -0400 Subject: [PATCH] put a new line between the short and long description --- relay/views/api.py | 4 +++- relay/views/base.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/relay/views/api.py b/relay/views/api.py index 146afdc..95e3b73 100644 --- a/relay/views/api.py +++ b/relay/views/api.py @@ -24,7 +24,9 @@ async def handle_authorize_get( client_id: str, redirect_uri: str) -> Response: """ - Authorize an application. Redirects to the application's redirect URI if accepted. + Authorize an application. + + Redirects to the application's redirect URI if accepted. :param response_type: What to respond with. Should always be set to ``code``. :param client_id: Application identifier diff --git a/relay/views/base.py b/relay/views/base.py index ba9c3ba..6dba873 100644 --- a/relay/views/base.py +++ b/relay/views/base.py @@ -53,7 +53,7 @@ def parse_docstring(docstring: str) -> tuple[str, dict[str, str]]: body = cast(str, ds.short_description) else: - body = "\n".join([ds.short_description, ds.long_description]) # type: ignore[list-item] + body = "\n\n".join([ds.short_description, ds.long_description]) # type: ignore[list-item] return body, params