pylabrobot.resources.Trough.get_resource# Trough.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