ayon-core/server_addon/max/server/settings/publishers.py
Kayla Man 6ae58875b5
3dsMax: Settings for Ayon (#5388)
* 3dsmax settings for ayon

* lower version to '0.1.0'

* remove arguments from max application settings

* RenderSettings instead of render_settings for max

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
2023-08-17 10:57:00 +02:00

26 lines
609 B
Python

from pydantic import Field
from ayon_server.settings import BaseSettingsModel
class BasicValidateModel(BaseSettingsModel):
enabled: bool = Field(title="Enabled")
optional: bool = Field(title="Optional")
active: bool = Field(title="Active")
class PublishersModel(BaseSettingsModel):
ValidateFrameRange: BasicValidateModel = Field(
default_factory=BasicValidateModel,
title="Validate Frame Range",
section="Validators"
)
DEFAULT_PUBLISH_SETTINGS = {
"ValidateFrameRange": {
"enabled": True,
"optional": True,
"active": True
}
}