Skip to content

Commit

Permalink
revert adding name to SimpleCreatorPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
MustafaJafar committed Dec 3, 2024
1 parent 9af83e0 commit 03df7b3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions server/settings/simple_creators.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
from pydantic import root_validator

from ayon_server.settings import BaseSettingsModel, SettingsField


class SimpleCreatorPlugin(BaseSettingsModel):

name: str = SettingsField(title="Name", disabled=True)
product_type: str = SettingsField("", title="Product type")
# TODO add placeholder
identifier: str = SettingsField("", title="Identifier")
Expand Down Expand Up @@ -42,11 +39,6 @@ class SimpleCreatorPlugin(BaseSettingsModel):
title="Extensions"
)

@root_validator(pre=True)
def use_label_as_name(cls, values):
values['name'] = values['product_type']
return values


DEFAULT_SIMPLE_CREATORS = [
{
Expand Down

0 comments on commit 03df7b3

Please sign in to comment.