pylabrobot.resources.TubeCarrier.register_will_unassign_resource_callback#

TubeCarrier.register_will_unassign_resource_callback(callback: Callable[[Resource], None])#

Add a callback that will be called before a resource is unassigned from this resource.

Parameters:

callback (Callable[[Resource], None])