From 3d95e16282e8f5e0665471a9478212d9d9610f38 Mon Sep 17 00:00:00 2001 From: EugeneP Date: Mon, 4 Dec 2023 17:41:41 +0200 Subject: [PATCH] Confluence connector improvements --- confluence/provider/client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/confluence/provider/client.py b/confluence/provider/client.py index 2c3040e89..f68ba0307 100644 --- a/confluence/provider/client.py +++ b/confluence/provider/client.py @@ -77,7 +77,9 @@ def get_client(): assert (url := app.config.get("PRODUCT_URL")), "CONFLUENCE_PRODUCT_URL must be set" assert (user := app.config.get("USER")), "CONFLUENCE_USER must be set" - assert (api_token := app.config.get("API_TOKEN")), "CONFLUENCE_API_TOKEN must be set" + assert ( + api_token := app.config.get("API_TOKEN") + ), "CONFLUENCE_API_TOKEN must be set" assert (space := app.config.get("SPACE_NAME")), "CONFLUENCE_SPACE_NAME must be set" search_limit = app.config.get("SEARCH_LIMIT", 10) client = ConfluenceClient(url, user, api_token, space, search_limit)