pylabrobot.resources.TubeRack.register_will_unassign_resource_callback#

TubeRack.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])