We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7986908 commit 24eca53Copy full SHA for 24eca53
RATapi/models.py
@@ -49,7 +49,7 @@ class Signal(RATModel):
49
"""Base model for background & resolution signals."""
50
51
name: str = Field(default="New Signal", min_length=1)
52
- type: TypeOptions = TypeOptions.Constant
+ type: TypeOptions = Field(default=TypeOptions.Constant, frozen=True)
53
source: str = ""
54
value_1: str = ""
55
value_2: str = ""
0 commit comments