notion4ever
notion4ever copied to clipboard
`if start_cursor is None: break` -> `if start_cursor is None or blocks['has_more'] is False: break`
otherwise the API retriever gets into infinite loops sometimes
per documentation, start_cursor field is only valid if has_more is True: https://developers.notion.com/reference/intro#responses