From 6b84bc012eaa3c0e09312aa5a58c9fb145d58a77 Mon Sep 17 00:00:00 2001
From: Karel van Klink <karel.vanklink@geant.org>
Date: Mon, 4 Dec 2023 16:54:08 +0100
Subject: [PATCH] fix docstring indentation

---
 lso/playbook.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lso/playbook.py b/lso/playbook.py
index 972044f..155bc07 100644
--- a/lso/playbook.py
+++ b/lso/playbook.py
@@ -39,8 +39,8 @@ def playbook_launch_error(reason: str, status_code: int = status.HTTP_400_BAD_RE
     """Return a :class:`PlaybookLaunchResponse` for the erroneous start of a playbook execution.
 
     :param str reason: The reason why a request has failed.
-    :param status status_code: The HTTP status code that should be associated with this request. Defaults to HTTP 400
-                               "Bad request".
+    :param status status_code: The HTTP status code that should be associated with this request. Defaults to HTTP 400:
+                               Bad request.
     :return JSONResponse: A playbook launch response that's unsuccessful.
     """
     return JSONResponse(content={"error": reason}, status_code=status_code)
@@ -164,7 +164,8 @@ def run_playbook(
     :param dict[str, Any] extra_vars: Any extra vars needed for the playbook to run.
     :param dict[str, Any] | str inventory: The inventory that the playbook is executed against.
     :param :class:`HttpUrl` callback: Callback URL where the playbook should send a status update when execution is
-        completed. This is used for workflow-orchestrator to continue with the next step in a workflow.
+                                      completed. This is used for workflow-orchestrator to continue with the next step
+                                      in a workflow.
     :return: Result of playbook launch, this could either be successful or unsuccessful.
     :rtype: :class:`fastapi.responses.JSONResponse`
     """
-- 
GitLab