mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-15 18:40:56 +02:00
Fix black for Notion connector
This commit is contained in:
parent
01bd1a84c4
commit
591e9831e7
@ -203,9 +203,11 @@ class NotionConnector(LoadConnector, PollConnector):
|
|||||||
result_obj = result[result_type]
|
result_obj = result[result_type]
|
||||||
|
|
||||||
if result_type == "ai_block":
|
if result_type == "ai_block":
|
||||||
logger.warning(f"Skipping 'ai_block' ('{result_block_id}') for page '{page_block_id}': "
|
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"Notion API does not currently support reading AI blocks (as of 24/02/09) "
|
||||||
f"(discussion: https://github.com/danswer-ai/danswer/issues/1053)")
|
f"(discussion: https://github.com/danswer-ai/danswer/issues/1053)"
|
||||||
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
cur_result_text_arr = []
|
cur_result_text_arr = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user