From d6266a468fef8f17532fe14527f606f5ca66d660 Mon Sep 17 00:00:00 2001 From: timo-codecentric <85686599+timo-codecentric@users.noreply.github.com> Date: Fri, 15 Sep 2023 15:58:45 +0200 Subject: [PATCH] Adding "after" parameter to children endpoint (#207) --- 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"), )