notion-sdk-py icon indicating copy to clipboard operation
notion-sdk-py copied to clipboard

[Draft] Add types (POC)

Open superleesa opened this issue 1 year ago • 0 comments

Add output (and maybe input) types to response (requests). For details, please see: https://github.com/ramnes/notion-sdk-py/issues/199

How to achive this:

  • use generic to distinguish client of Endpoint instance between Client and AsyncClient
  • use the generic and overload decorator to add two overloads (one for sync and another one async) of each request method

superleesa avatar Oct 26 '24 03:10 superleesa