jamalex / notion-py

Unofficial Python API client for Notion.so
MIT License
4.25k stars 473 forks source link

AssertionError #99

Open snoop2head opened 4 years ago

snoop2head commented 4 years ago

https://github.com/jamalex/notion-py/blob/56b7a904474619cf60c4768db435c921ca18f44f/notion/smoke_test.py#L111

I am getting AssertionError for this line. Python 3.8 / Editor: VSCode

DarkGhost7 commented 4 years ago

Same getting this same error. Don't think the code works...

amariusz commented 3 years ago

It works for me in current version although the code has changed.

Note that following 'client.search_blocks' fails with 404 error.

Also, I get TypeError: notion_to_plaintext() got an unexpected keyword argument 'id' with

assert col1kid.title_plaintext == "Some formatting: italic, bold, both!"

After commenting out those lines remaining parts of smoke_test.py work well for me.