Skip to content

Commit

Permalink
adding deprecation flag on OCIO config override settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubjezek001 committed Jun 17, 2024
1 parent aed43fa commit 4b6ea71
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions server/settings/imageio.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,28 @@


class ImageIOConfigModel(BaseSettingsModel):
"""[DEPRECATED] Addon OCIO config settings. Please set the OCIO config
path in the Core addon profiles here
(ayon+settings://core/imageio/ocio_config_profiles).
"""

override_global_config: bool = SettingsField(
False,
title="Override global OCIO config"
title="Override global OCIO config",
description=(
"DEPRECATED functionality. Please set the OCIO config path in the "
"Core addon profiles here (ayon+settings://core/imageio/"
"ocio_config_profiles)."
),
)
filepath: list[str] = SettingsField(
default_factory=list,
title="Config path"
title="Config path",
description=(
"DEPRECATED functionality. Please set the OCIO config path in the "
"Core addon profiles here (ayon+settings://core/imageio/"
"ocio_config_profiles)."
),
)


Expand Down

0 comments on commit 4b6ea71

Please sign in to comment.