pylabrobot.resources.Resource.get_resource#

Resource.get_resource(name: str) pylabrobot.resources.resource.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

pylabrobot.resources.resource.Resource