Skip to content

Commit 4a8d88d

Browse files
Update state-manager/app/models/trigger_models.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 082ff4e commit 4a8d88d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

state-manager/app/models/trigger_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def validate_expression(cls, v: str) -> str:
2424

2525
class Trigger(BaseModel):
2626
type: TriggerTypeEnum = Field(..., description="Type of the trigger")
27-
value: dict[str, str] = Field(default={}, description="Value of the trigger")
27+
value: dict = Field(default_factory=dict, description="Value of the trigger")
2828

2929
@model_validator(mode="after")
3030
def validate_trigger(self) -> Self:

0 commit comments

Comments
 (0)