Skip to content

Commit

Permalink
use better name for the model: EnabledStateModel
Browse files Browse the repository at this point in the history
  • Loading branch information
MustafaJafar committed Dec 9, 2024
1 parent 3739cb3 commit fc5dcbb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions server/settings/publish_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class ValidatePluginModel(BaseSettingsModel):
active: bool = SettingsField(True, title="Active")


class MiniValidatePluginModel(BaseSettingsModel):

class EnabledStateModel(BaseSettingsModel):
enabled: bool = True


Expand Down Expand Up @@ -62,8 +61,8 @@ class ExtractEditorialPckgConversionModel(BaseSettingsModel):


class TrayPublisherPublishPlugins(BaseSettingsModel):
CollectFrameDataFromAssetEntity: MiniValidatePluginModel = SettingsField(
default_factory=MiniValidatePluginModel,
CollectFrameDataFromAssetEntity: EnabledStateModel = SettingsField(
default_factory=EnabledStateModel,
title="Collect Frame Data From Folder Entity",
)
CollectSequenceFrameData: ValidatePluginModel = SettingsField(
Expand Down

0 comments on commit fc5dcbb

Please sign in to comment.