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 4f39a82 commit 4b54dd6Copy full SHA for 4b54dd6
src/server/_params.py
@@ -111,10 +111,6 @@ class TimeSet:
111
time_type: str
112
time_values: Union[bool, TimeValues]
113
114
- def __post_init__(self):
115
- if isinstance(self.time_values, list):
116
- self.time_values = [(min(time_value), max(time_value)) if isinstance(time_value, tuple) else time_value for time_value in self.time_values]
117
-
118
@property
119
def is_week(self) -> bool:
120
return self.time_type == 'week'
0 commit comments