Change weekend_shift_target_number type from int to float for improved precision
This commit is contained in:
@@ -177,7 +177,7 @@ class Worker(BaseModel):
|
|||||||
|
|
||||||
shift_fte_overrides: dict[str, int] = {} # Need checks to ensure shifts exist
|
shift_fte_overrides: dict[str, int] = {} # Need checks to ensure shifts exist
|
||||||
|
|
||||||
weekend_shift_target_number: int = 0
|
weekend_shift_target_number: float = 0.0
|
||||||
avoid_shifts_on_dates: list[AvoidShiftOnDates] = []
|
avoid_shifts_on_dates: list[AvoidShiftOnDates] = []
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user