We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a8838 commit c13b610Copy full SHA for c13b610
1 file changed
brainframe/api/bf_codecs/zone_codecs.py
@@ -26,7 +26,7 @@ class Zone(Codec):
26
Example: [[0, 0], [10, 10], [100, 500], [0, 500]]
27
"""
28
29
- alarms: List[ZoneAlarm] = field(default=list)
+ alarms: List[ZoneAlarm] = field(default_factory=list)
30
"""All alarms that are attached to the zone"""
31
32
id: Optional[int] = None
0 commit comments