pylabrobot.resources.Resource.register_will_unassign_resource_callback# Resource.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])