Bases: BaseSettingsModel
Workfile settings help.
Empty values will be skipped, allowing any existing env vars to pass through as defined.
Source code in server/imageio.py
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54 | class WorkfileImageIOModel(BaseSettingsModel):
"""Workfile settings help.
Empty values will be skipped, allowing any existing env vars to
pass through as defined.
"""
enabled: bool = SettingsField(False, title="Enabled")
render: str = SettingsField(
default="ACES",
title="Default render space",
description="It behaves like the 'OCIO_RENDER_SPACE' env var,"
" The role of the working space, e.g scene_linear"
)
display: str = SettingsField(
default="ACES",
title="Default active displays",
description="It behaves like the 'OCIO_ACTIVE_DISPLAYS' env var,"
" Colon-separated list of displays, e.g ACES:P3"
)
view: str = SettingsField(
default="sRGB",
title="Default active views",
description="It behaves like the 'OCIO_ACTIVE_VIEWS' env var,"
" Colon-separated list of views, e.g sRGB:DCDM"
)
thumbnails: str = SettingsField(
default="sRGB",
title="Thumbnails",
)
|