pylabrobot.resources.Deck.get_resource#

Deck.get_resource(name: str) Resource#

Returns the resource with the given name.

Raises:

ResourceNotFoundError – If the resource is not found.

Parameters:

name (str)

Return type:

Resource