Framework
- class salo.salo.Event(model: Dict, session: salo.salo.Session, options: Dict, exclude_none: bool = True)[source]
- get_saved_value(key: str, index: Optional[int] = None, is_random: bool = False) Any [source]
Set the value of an attribute for the event if a saved_value exists and is defined
- save_value(key: str, value: str) None [source]
Update Session object with values if a saved_value is defined
- update_saved_values(event: Union[salo.stencils.SaloStencilModel, salo.events.SaloEventModel]) None [source]
Ensure saved_values are updated if defined in the recipe
- class salo.salo.Session(model: Dict, cadence: salo.cadence.Cadence, defaults: Dict, saved_values: Optional[Dict] = None)[source]
- class salo.salo.Sessions(config: str, outputs: Optional[List] = None, output_config: Optional[str] = None)[source]
- create_session(model: Dict) None [source]
Create a new Session object for this collection of Sessions