diff --git a/rust/altrios-core/src/consist/locomotive/locomotive_model.rs b/rust/altrios-core/src/consist/locomotive/locomotive_model.rs index 34706f19..73381ce3 100644 --- a/rust/altrios-core/src/consist/locomotive/locomotive_model.rs +++ b/rust/altrios-core/src/consist/locomotive/locomotive_model.rs @@ -330,6 +330,12 @@ impl LocoTrait for DummyLoco { Ok(Self::default_battery_electric_loco()) } + #[staticmethod] + #[pyo3(name = "default_hybrid_electric_loco")] + fn default_hybrid_electric_loco_py () -> anyhow::Result { + Ok(Self::default_hybrid_electric_loco()) + } + #[staticmethod] #[pyo3(name = "build_battery_electric_loco")] fn build_battery_electric_loco_py (