Skip to content

Commit e52b427

Browse files
authored
Merge pull request #338 from ynput/bugfix/default-value-for-list
Lists: Define default value for optional argumet
2 parents a405897 + 83bdcf4 commit e52b427

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ayon_api/_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8209,7 +8209,7 @@ def update_entity_list_item(
82098209
list_id: str,
82108210
item_id: str,
82118211
*,
8212-
new_list_id: Optional[str],
8212+
new_list_id: Optional[str] = None,
82138213
position: Optional[int] = None,
82148214
label: Optional[str] = None,
82158215
attrib: Optional[dict[str, Any]] = None,

ayon_api/_api_helpers/lists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def update_entity_list_item(
407407
list_id: str,
408408
item_id: str,
409409
*,
410-
new_list_id: Optional[str],
410+
new_list_id: Optional[str] = None,
411411
position: Optional[int] = None,
412412
label: Optional[str] = None,
413413
attrib: Optional[dict[str, Any]] = None,

0 commit comments

Comments
 (0)