mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
update docstrings
This commit is contained in:
parent
b412e22164
commit
cbc622c46f
1 changed files with 6 additions and 3 deletions
|
|
@ -427,9 +427,12 @@ class EnumDef(AbstractAttrDef):
|
||||||
"""Enumeration of single item from items.
|
"""Enumeration of single item from items.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
items: Items definition that can be converted using
|
items (Union[list[str], list[dict[str, Any]]): Items definition that
|
||||||
'prepare_enum_items'.
|
can be converted using 'prepare_enum_items'.
|
||||||
default: Default value. Must be one key(value) from passed items.
|
default (Optional[Any]): Default value. Must be one key(value) from
|
||||||
|
passed items or list of values for multiselection.
|
||||||
|
multiselection (Optional[bool]): If True, multiselection is allowed.
|
||||||
|
Output is list of selected items.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = "enum"
|
type = "enum"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue