Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
OP-8104 - fix unwanted change to field name (#6193)
Browse files Browse the repository at this point in the history
It should be image_format but in previous refactoring PR it fell back to original output_formats
  • Loading branch information
kalisp authored Feb 5, 2024
1 parent ed339ed commit d377b28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions server_addon/fusion/server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ class CreateSaverPluginModel(BaseSettingsModel):
enum_resolver=_create_saver_instance_attributes_enum,
title="Instance attributes"
)
output_formats: list[str] = SettingsField(
default_factory=list,
title="Output formats"
image_format: str = SettingsField(
enum_resolver=_image_format_enum,
title="Output Image Format"
)


Expand Down Expand Up @@ -90,6 +90,8 @@ class CreateImageSaverModel(CreateSaverPluginModel):
0,
title="Default rendered frame"
)


class CreatPluginsModel(BaseSettingsModel):
CreateSaver: CreateSaverModel = SettingsField(
default_factory=CreateSaverModel,
Expand Down
2 changes: 1 addition & 1 deletion server_addon/fusion/server/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.3"
__version__ = "0.1.4"

0 comments on commit d377b28

Please sign in to comment.