Update fallback type field names in colorspace and settings modules

The commit updates the field name from "type" to "fallback_type" for consistency in the colorspace and settings modules.
This commit is contained in:
Jakub Jezek 2024-09-25 14:23:31 +02:00
parent 6085b6bd82
commit 07ea80d2d7
No known key found for this signature in database
GPG key ID: 06DBD609ADF27FD9
2 changed files with 3 additions and 3 deletions

View file

@ -85,7 +85,7 @@ def _ocio_built_in_paths():
class FallbackProductModel(BaseSettingsModel):
_layout = "expanded"
type: str = SettingsField(
fallback_type: str = SettingsField(
title="Fallback config type",
enum_resolver=_fallback_ocio_config_profile_types,
conditionalEnum=True,
@ -347,7 +347,7 @@ DEFAULT_VALUES = {
"published_product": {
"product_name": "",
"fallback": {
"type": "builtin_path",
"fallback_type": "builtin_path",
"builtin_path": "ACES 1.2",
"custom_path": ""
}