mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added docstring to sorter
This commit is contained in:
parent
3b93392eb7
commit
ddbec4ea71
1 changed files with 9 additions and 1 deletions
|
|
@ -642,7 +642,15 @@ def get_colorspaces_enumerator_items(
|
|||
})
|
||||
|
||||
def _sort_key_getter(item):
|
||||
"""Use colorspace for sorting."""
|
||||
"""Use colorspace for sorting.
|
||||
|
||||
Args:
|
||||
item (tuple[str, str]): Item with colorspace and label.
|
||||
|
||||
Returns:
|
||||
str: Colorspace.
|
||||
|
||||
"""
|
||||
return item[0]
|
||||
|
||||
labeled_colorspaces = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue