pylabrobot.resources.tip_tracker.TipTracker.add_tip#

TipTracker.add_tip(tip: Tip, origin: TipSpot | None = None, commit: bool = True) None#

Update the pending state with the operation, if the operation is valid.

Parameters:
  • tip (Tip) – The tip to add.

  • commit (bool) – Whether to commit the operation immediately. If False, the operation will be committed later with commit() or rolled back with rollback().

  • origin (TipSpot | None)

Return type:

None