ramnes / notion-sdk-py

The official Notion API client library, but rewritten in Python! (sync + async)
https://ramnes.github.io/notion-sdk-py
MIT License
1.75k stars 138 forks source link

multipage support for databases.query #195

Closed moarsoarse closed 1 year ago

moarsoarse commented 1 year ago

Sorry for clunky syntax, just started learning Python. But it works))

ramnes commented 1 year ago

Hey there,

I won't merge this because there's already the iterate_paginated_api helper, as mentioned in the README and the docs. This is what you should use. :)

Others reasons are that I don't want to diverge from the JavaScript SDK API and that I don't think your diff will work with the asynchronous client.

Thanks for the effort though!