pylabrobot.liquid_handling.backends.serializing_backend.SerializingBackend.assigned_resource_callback

pylabrobot.liquid_handling.backends.serializing_backend.SerializingBackend.assigned_resource_callback#

async SerializingBackend.assigned_resource_callback(resource: Resource)#

Called when a new resource was assigned to the robot.

This callback will also be called immediately after the setup method has been called for any resources that were assigned to the robot before it was set up. The first resource will always be the deck itself.

Parameters:

resource (Resource) – The resource that was assigned to the robot.