mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-26 17:51:54 +01: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]
|
||||
|
||||
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 = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user