mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
docstring update
This commit is contained in:
parent
e10ca74b1b
commit
c99aa746a2
1 changed files with 1 additions and 3 deletions
|
|
@ -226,13 +226,11 @@ def get_colorspace_from_filepath(config_path, filepath):
|
|||
def parse_colorspace_from_filepath(
|
||||
filepath, colorspaces=None, config_path=None
|
||||
):
|
||||
"""Parse colorspace name from list of filepaths
|
||||
"""Parse colorspace name from filepath
|
||||
|
||||
An input path can have colorspace name used as part of name
|
||||
or as folder name.
|
||||
|
||||
# add example python code block
|
||||
|
||||
Example:
|
||||
>>> config_path = "path/to/config.ocio"
|
||||
>>> colorspaces = get_ocio_config_colorspaces(config_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue