api_compat
api_compat
Request shapes that work across every engine version pyetm targets.
Sibling of :mod:pyetm.config.curve_registry, which does the same for curve names.
Functions
saved_scenario_payload
Build a saved scenario body the target engine can read.
2025-01 reads attributes from the top level; later engines from a
saved_scenario root key. Also stamps version with the environment
label, since MyETM defaults an unlabelled scenario to production.