Merge pull request #5773 from ynput/bugfix/ayon-applications-tools-settings

AYON settings: Fix default factory of tools
This commit is contained in:
Jakub Trllo 2023-10-16 18:51:23 +02:00 committed by GitHub
commit 326f92bc42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -115,9 +115,7 @@ class ToolGroupModel(BaseSettingsModel):
name: str = Field("", title="Name")
label: str = Field("", title="Label")
environment: str = Field("{}", title="Environments", widget="textarea")
variants: list[ToolVariantModel] = Field(
default_factory=ToolVariantModel
)
variants: list[ToolVariantModel] = Field(default_factory=list)
@validator("environment")
def validate_json(cls, value):

View file

@ -1 +1 @@
__version__ = "0.1.1"
__version__ = "0.1.2"