add prtial shifts
This commit is contained in:
+19
@@ -504,6 +504,24 @@ def main(
|
||||
"night_weekday": 0,
|
||||
}
|
||||
|
||||
override_shift_start_dates = []
|
||||
if worker in ["Anushka Kulkarni"]:
|
||||
override_shift_start_dates = [
|
||||
{
|
||||
"shift": "night_weekday",
|
||||
"start_date": datetime.datetime.strptime(
|
||||
"2026-11-01", "%Y-%m-%d"
|
||||
).date(),
|
||||
},
|
||||
{
|
||||
"shift": "night_weekend",
|
||||
"start_date": datetime.datetime.strptime(
|
||||
"2026-11-01", "%Y-%m-%d"
|
||||
).date(),
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
# if worker_name == "Hadi Mohamed":
|
||||
# shift_fte_overrides = {
|
||||
# "weekend_exeter": 50,
|
||||
@@ -537,6 +555,7 @@ def main(
|
||||
bank_holiday_extra=w["bank_holiday_extra"],
|
||||
shift_fte_overrides=shift_fte_overrides,
|
||||
exact_shifts=exact_shifts,
|
||||
shift_start_dates=override_shift_start_dates,
|
||||
)
|
||||
|
||||
# print(w)
|
||||
|
||||
Reference in New Issue
Block a user