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

Allow passing starting cursor in paginated helper #222

Closed smarttommyau closed 8 months ago

smarttommyau commented 8 months ago

Allow passing next_cursor to the paginated api to set the starting cursor.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (bc03f56) 100.00% compared to head (8fdadac) 100.00%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #222 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 7 7 Lines 300 300 ========================================= Hits 300 300 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ramnes commented 8 months ago

I've pushed a commit to stay closer to the TS SDK (and fix CI), does it work for you?

ramnes commented 8 months ago

Going ahead and merging, please comment if anything's wrong. :)