notion-py
notion-py copied to clipboard
Update schema
Hi!
I was surprised that creation collection properties is not yet available. So here it is!
This PR does not provide:
- "update" of current properties (change types)
- "delete" current properties
So only add new property.
The smoke_tests are fine, but with only "edit" perms there are errors:
- The search the whole space does not work
# search the entire space
assert row1 in client.search_blocks(search=special_code)
assert row1 not in client.search_blocks(search="penguins")
assert row2 not in client.search_blocks(search=special_code)
assert row2 in client.search_blocks(search="penguins")
- The deletion does not work
Maybe the smoke tests instruction needs update that smoke tests requires admin perms?
Thanks in advance!
Okay, suddenly, the update and deletion works well. Take me some time to understand it