test2.lumache
Lumache - Python library for cooks and food lovers.
Module Contents
Functions
Return a list of random ingredients as strings…. |
Data
API
- test2.lumache.__version__ = '0.1.0'
- exception test2.lumache.InvalidKindError
Bases:
ExceptionRaised if the kind is invalid.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- test2.lumache.get_random_ingredients(kind=None)
Return a list of random ingredients as strings….
- 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]