Skip to content
Snippets Groups Projects

Allow inplace editing of schedule

Merged Oscar Gustafsson requested to merge schedulereturn into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -327,7 +327,8 @@ class Schedule:
@@ -327,7 +327,8 @@ class Schedule:
new_schedule = start_scheduler(self)
new_schedule = start_scheduler(self)
if inplace:
if inplace:
self = new_schedule
self._start_times = new_schedule._start_times
 
self._laps = new_schedule._laps
return new_schedule
return new_schedule
def increase_time_resolution(self, factor: int) -> "Schedule":
def increase_time_resolution(self, factor: int) -> "Schedule":
Loading