diff --git a/pyproject.toml b/pyproject.toml index 9d4a9cd..4d67606 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "gradient-labs" -version = "0.11.7" +version = "0.11.8" description = "Python bindings for the Gradient Labs API" readme = "README.md" requires-python = ">=3.9,<4.0" diff --git a/src/gradient_labs/_note_create.py b/src/gradient_labs/_note_create.py index 66b961e..b92a185 100644 --- a/src/gradient_labs/_note_create.py +++ b/src/gradient_labs/_note_create.py @@ -18,9 +18,6 @@ class CreateNoteParams: # Title is the note's title. title: str - # AuthorID optionally identifies the (current) author of the note. - author_id: Optional[str] = None - # Body is the main contents of a note. This is mutually exclusive with webpage_url. body: Optional[str] = None @@ -41,8 +38,6 @@ def create_note(*, client: HttpClient, params: CreateNoteParams) -> Note: "id": params.id, "title": params.title, } - if params.author_id is not None: - body["author_id"] = params.author_id if params.body is not None: body["body"] = params.body if params.webpage_url is not None: diff --git a/src/gradient_labs/_note_update.py b/src/gradient_labs/_note_update.py index 56f750d..59a4b48 100644 --- a/src/gradient_labs/_note_update.py +++ b/src/gradient_labs/_note_update.py @@ -15,9 +15,6 @@ class UpdateNoteParams: # Title is the note's title. title: str - # AuthorID optionally identifies the (current) author of the note. - author_id: Optional[str] = None - # Body is the main contents of a note. This is mutually exclusive with webpage_url. body: Optional[str] = None @@ -37,8 +34,6 @@ def update_note(*, client: HttpClient, note_id: str, params: UpdateNoteParams) - body = { "title": params.title, } - if params.author_id is not None: - body["author_id"] = params.author_id if params.body is not None: body["body"] = params.body if params.webpage_url is not None: