pylabrobot.resources.Container.register_will_assign_resource_callback# Container.register_will_assign_resource_callback(callback: Callable[[Resource], None])# Add a callback that will be called before a resource is assigned to this resource. These callbacks can raise errors in case the proposed assignment is invalid. Parameters: callback (Callable[[Resource], None])