Skip to content

Commit 1562a50

Browse files
committed
Fix pylint issues
1 parent 781489e commit 1562a50

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/_notion_scripts/upload.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,8 @@ def _upload_blocks_in_batches(
107107
blocks: list[_Block],
108108
batch_size: int = NOTION_BLOCKS_BATCH_SIZE,
109109
) -> 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
110+
"""
111+
Upload blocks to a page in batches to avoid 413 errors.
117112
"""
118113
if not blocks:
119114
return

0 commit comments

Comments
 (0)