Add ignore_shifts parameter to PostShiftConstraint and PreShiftConstraint
This commit is contained in:
+1
-1
@@ -353,7 +353,7 @@ def main(
|
||||
#{"name": "pre", "options": 2},
|
||||
|
||||
#{"name": "post", "options": 1},
|
||||
PostShiftConstraint(days=1, start_date="2025-11-24"),
|
||||
PostShiftConstraint(days=1, start_date="2025-11-17", ignore_shifts=["oncall"]),
|
||||
],
|
||||
display_char="a",
|
||||
#force_assign_with=["oncall"]
|
||||
|
||||
Reference in New Issue
Block a user