Replies: 1 comment 2 replies
-
Yeah, definitely. :) It's funny because I have been discussing the exact same feature on Slack an hour ago or so! I was saying that we're in a weird situation because I started this library as a 1:1 rewrite of Notion's library, but yet we all want more features. You can read my thoughts on the matter here: #9 (comment) For this kind of helper in particular, I'd say we could simply add them in helpers.py until we land a better code structure. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been working on a basic integration that pulls from databases. I ended up writing a paginating iterator to loop over results. I'm sure it could be improved, but I was wondering if there would be any interest including this in the SDK as a helper class?
It's an early start, but here's an example of what I'm working on:
https://github.com/jheddings/notion-sdk-py/blob/pager/notion_client/pager.py
Beta Was this translation helpful? Give feedback.
All reactions