-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
May be, mistake in models.py #33
Comments
Hello, thanks for feedback.
...
for p in res.obj:
res.get_page_properties(obj=p)
print(f'url: {p.url}')
for field_name, field_property in p.properties.items():
print(f' {field_name}, type: {type(field_property)}')
... API developers did rollback with page getting algo: https://developers.notion.com/changelog/changes-for-august-31-2022 Если короче, то ребята при релизе новой API версии сначала поменяли алгоритм выгрузки объектов Page, а потом без смены версии сделали откат. |
for v1.3.1 #32 will be fixed |
I didn't dig deep into the deeps of Notion API jsons, I learned your library, it was enough for my tasks. Objects - its cool! ) P.S. Приятно, что разработчик русскоязычный :) Реально из живых существующих питоновских либов по notion твой, похоже, самый крутой! Буду следить. |
Hello! Thank you for the interesting notion api object wrapper.
As I understood, class PropertyValue does not fully support images now?
But I tried to use this class in database pages and got items of Property class (I expected PropertyValue class)
Here is my code:
May be, I misunderstood something, but, may be in the string 541 of models.py (fragment below) you have to wrote
name: (PropertyValue(data)
instead ofname: (Property(data)
?The text was updated successfully, but these errors were encountered: