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

Add Type Hints to Response and Arguments of a function #231

Closed JVGC closed 7 months ago

JVGC commented 7 months ago

I just started using the package, and one thing I notice is that it's missing type hints for what the function should expect as arguments and what it actually returns.

I would say that adding that would be a really useful thing, specially because would allow me to only look for the notion api documents in special cases.

ramnes commented 7 months ago

Closing in favor of #199. Some work has been done in #200 and this branch, feel free to work on top of these if you want to contribute and maintain these types. Thanks!