mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
* 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>
26 lines
609 B
Python
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
|
|
}
|
|
}
|