From 2115e40bf26b8da561379c458f82ca5a4c37c491 Mon Sep 17 00:00:00 2001 From: timo-codecentric <85686599+timo-codecentric@users.noreply.github.com> Date: Fri, 15 Sep 2023 14:50:54 +0200 Subject: [PATCH] Adding "after"-parameter to children endpoint --- notion_client/api_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notion_client/api_endpoints.py b/notion_client/api_endpoints.py index 8660dacc..d51289a4 100644 --- a/notion_client/api_endpoints.py +++ b/notion_client/api_endpoints.py @@ -23,7 +23,7 @@ def append(self, block_id: str, **kwargs: Any) -> SyncAsync[Any]: return self.parent.request( path=f"blocks/{block_id}/children", method="PATCH", - body=pick(kwargs, "children"), + body=pick(kwargs, "children", "after"), auth=kwargs.get("auth"), )