pylabrobot.shaking.shaker.Shaker.get_resource

pylabrobot.shaking.shaker.Shaker.get_resource#

Shaker.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