Instruction.insert

Instruction.insert(start_time, schedule, name=None)[source]

Return a new Schedule with schedule inserted within self at start_time.

Parameters
  • start_time (int) – Time to insert the schedule schedule

  • schedule (ScheduleComponent) – Schedule to insert

  • name (Optional[str]) – Name of the new schedule. Defaults to name of self

Return type

Schedule