pylabrobot.resources.ItemizedResource.register_will_unassign_resource_callback#

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