Skip to content

Commit

Permalink
Add description param to database endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWilhelm committed Oct 19, 2023
1 parent 8b8f922 commit 4f8d023
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion notion_client/api_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,15 @@ def update(self, database_id: str, **kwargs: Any) -> SyncAsync[Any]:
return self.parent.request(
path=f"databases/{database_id}",
method="PATCH",
body=pick(kwargs, "properties", "title", "icon", "cover", "is_inline"),
body=pick(
kwargs,
"properties",
"title",
"description",
"icon",
"cover",
"is_inline"
),
auth=kwargs.get("auth"),
)

Expand Down

0 comments on commit 4f8d023

Please sign in to comment.