pylabrobot.heating_shaking.heater_shaker.HeaterShaker.get_resource#

HeaterShaker.get_resource(name: str) Resource#

Get a resource by name.

Parameters:

name (str) – The name of the resource to get.

Returns:

The resource with the given name.

Raises:

ValueError – If no resource with the given name exists.

Return type:

Resource