lumache.get_random_ingredients

lumache.get_random_ingredients(kind=None)

Return a list of random ingredients as strings.

At the moment, only a hardcoded list is implemented.

Parameters

kind (list[str] or None) – Optional “kind” of ingredients.

Raises

lumache.InvalidKindError – If the kind is invalid.

Returns

The ingredients list.

Return type

list[str]