File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ class TimeRange(BaseModel):
33
33
TimeRange
34
34
"""
35
35
36
- var_from : int
36
+ var_from : Optional [ int ] = None
37
37
""" When the rule should start to be active, in Unix epoch time. """
38
- until : int
38
+ until : Optional [ int ] = None
39
39
""" When the rule should stop to be active, in Unix epoch time. """
40
40
41
41
model_config = ConfigDict (
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ class TimeRange(BaseModel):
33
33
TimeRange
34
34
"""
35
35
36
- var_from : int
36
+ var_from : Optional [ int ] = None
37
37
""" When the rule should start to be active, in Unix epoch time. """
38
- until : int
38
+ until : Optional [ int ] = None
39
39
""" When the rule should stop to be active, in Unix epoch time. """
40
40
41
41
model_config = ConfigDict (
You can’t perform that action at this time.
0 commit comments