Skip to content

Commit 24eca53

Browse files
committed
froze signal types
1 parent 7986908 commit 24eca53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RATapi/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Signal(RATModel):
4949
"""Base model for background & resolution signals."""
5050

5151
name: str = Field(default="New Signal", min_length=1)
52-
type: TypeOptions = TypeOptions.Constant
52+
type: TypeOptions = Field(default=TypeOptions.Constant, frozen=True)
5353
source: str = ""
5454
value_1: str = ""
5555
value_2: str = ""

0 commit comments

Comments
 (0)