From 591e9831e7810cb94ffa4c314f37a1298b74e7f3 Mon Sep 17 00:00:00 2001 From: Weves Date: Sat, 10 Feb 2024 21:02:23 -0800 Subject: [PATCH] Fix black for Notion connector --- backend/danswer/connectors/notion/connector.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/backend/danswer/connectors/notion/connector.py b/backend/danswer/connectors/notion/connector.py index 7e412a875..4bb81dc57 100644 --- a/backend/danswer/connectors/notion/connector.py +++ b/backend/danswer/connectors/notion/connector.py @@ -203,9 +203,11 @@ class NotionConnector(LoadConnector, PollConnector): result_obj = result[result_type] if result_type == "ai_block": - logger.warning(f"Skipping 'ai_block' ('{result_block_id}') for page '{page_block_id}': " - f"Notion API does not currently support reading AI blocks (as of 24/02/09) " - f"(discussion: https://github.com/danswer-ai/danswer/issues/1053)") + logger.warning( + f"Skipping 'ai_block' ('{result_block_id}') for page '{page_block_id}': " + f"Notion API does not currently support reading AI blocks (as of 24/02/09) " + f"(discussion: https://github.com/danswer-ai/danswer/issues/1053)" + ) continue cur_result_text_arr = []