Resource.assign_child_resource(resource: pylabrobot.resources.resource.Resource, location: Optional[pylabrobot.resources.coordinate.Coordinate])#

Assign a child resource to this resource.

Will use resource_assigned_callback() to notify the parent of the assignment, if parent is not None. Note that the resource to be assigned may have child resources, in which case you will be responsible for handling any checking, if necessary.