We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 75f38a0 + e5cd134 commit 22904d6Copy full SHA for 22904d6
src/sphinx_notion/__init__.py
@@ -79,9 +79,7 @@ def _serialize_block_with_children(
79
serialized_obj = block.obj_ref.serialize_for_api()
80
if isinstance(block, ParentBlock) and block.children:
81
serialized_obj[block.obj_ref.type]["children"] = [
82
- _serialize_block_with_children(
83
- block=child,
84
- )
+ _serialize_block_with_children(block=child)
85
for child in block.children
86
]
87
return serialized_obj
0 commit comments