ayon-core/server_addon/harmony/server/settings/main.py
Jakub Trllo b43cac0b51
AYON: Addons creation enhancements (#5356)
* updated nuke settings

* added addon version to zip filename

* fix Pattern type hint

* added ignored subdirs for openpype

* added titles to addons

* type hint fix - again

* modified settings conversion

* updated aftereffects settings

* updated blender settings

* updated clockify settings

* updated core settings

* updated deadline settings

* updated harmo settings

* updated kistsu settings

* updated maya settings

* updated muster settings

* updated royal render settings

* updated timers manager settings

* updated traypublisher settings

* implemented conversion of rr paths

* formatting fix
2023-07-28 11:51:23 +02:00

63 lines
1.5 KiB
Python

from pydantic import Field
from ayon_server.settings import BaseSettingsModel
from .imageio import HarmonyImageIOModel
from .publish_plugins import HarmonyPublishPlugins
class HarmonySettings(BaseSettingsModel):
"""Harmony Project Settings."""
imageio: HarmonyImageIOModel = Field(
default_factory=HarmonyImageIOModel,
title="OCIO config"
)
publish: HarmonyPublishPlugins = Field(
default_factory=HarmonyPublishPlugins,
title="Publish plugins"
)
DEFAULT_HARMONY_SETTING = {
"load": {
"ImageSequenceLoader": {
"family": [
"shot",
"render",
"image",
"plate",
"reference"
],
"representations": [
"jpeg",
"png",
"jpg"
]
}
},
"publish": {
"CollectPalettes": {
"allowed_tasks": [
".*"
]
},
"ValidateAudio": {
"enabled": True,
"optional": True,
"active": True
},
"ValidateContainers": {
"enabled": True,
"optional": True,
"active": True
},
"ValidateSceneSettings": {
"enabled": True,
"optional": True,
"active": True,
"frame_check_filter": [],
"skip_resolution_check": [],
"skip_timelines_check": []
}
}
}