Skip to content

Commit a007ff9

Browse files
Update todoist_api_python/api.py
Co-authored-by: Gonçalo Silva <[email protected]>
1 parent 4ae0691 commit a007ff9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

todoist_api_python/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,7 @@ def move_task(
495495
:return: True if the task was moved successfully,
496496
False otherwise (possibly raise `HTTPError` instead).
497497
:raises requests.exceptions.HTTPError: If the API request fails.
498+
:raises ValueError: If neither `project_id`, `section_id`, nor `parent_id` is provided.
498499
"""
499500
data: dict[str, Any] = {}
500501
if project_id is not None:

0 commit comments

Comments
 (0)