This version adds support for a whole bunch of new endpoints!
It also brings automatic retries on rate limits and transient server errors (configurable at the ClientOptions level).
A few new helpers and constants have been added as well: is_full_view, is_http_response_error, DEFAULT_TIMEOUT_MS and MIN_VIEW_COLUMN_WIDTH.
Thanks to @tsinglinrain for the help.
What's Changed
- Enhance request handling in
client.pyfollowing notion-sdk-js by @tsinglinrain in #314 - Add
pages.retrieve_markdown()andpages.update_markdown()endpoints by @ramnes in #317 - Add automatic retry support with exponential backoff by @tsinglinrain in #319
- Extract constants by @ramnes in #321
- Add
gateway_timeouttoAPIErrorCodeenum by @ramnes in #322 - Add
custom_emojis.list()endpoint by @ramnes in #323 - Add view endpoints by @ramnes in #324
Full Changelog: 3.0.0...3.1.0