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.
1 parent 781489e commit 1562a50Copy full SHA for 1562a50
src/_notion_scripts/upload.py
@@ -107,13 +107,8 @@ def _upload_blocks_in_batches(
107
blocks: list[_Block],
108
batch_size: int = NOTION_BLOCKS_BATCH_SIZE,
109
) -> None:
110
- """Upload blocks to a page in batches to avoid 413 errors.
111
-
112
- Args:
113
- notion_client: The Notion client
114
- page_id: ID of the page to add blocks to
115
- blocks: List of blocks to upload
116
- batch_size: Number of blocks per batch
+ """
+ Upload blocks to a page in batches to avoid 413 errors.
117
"""
118
if not blocks:
119
return
0 commit comments