Skip to content

Commit

Permalink
added default_hybrid_electric_loco
Browse files Browse the repository at this point in the history
  • Loading branch information
calbaker committed Jan 7, 2025
1 parent ddd1fd3 commit 00a0d60
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rust/altrios-core/src/consist/locomotive/locomotive_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self> {
Ok(Self::default_hybrid_electric_loco())
}
#[staticmethod]
#[pyo3(name = "build_battery_electric_loco")]
fn build_battery_electric_loco_py (
Expand Down

0 comments on commit 00a0d60

Please sign in to comment.