Skip to content

Commit

Permalink
chore: Update to pywr-schema 0.7.0
Browse files Browse the repository at this point in the history
Include placeholders todo! for new parameters.
  • Loading branch information
jetuk committed Sep 18, 2023
1 parent cdc430e commit b0147ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pyo3 = { version = "0.19.0" }
rayon = "1.6.1"
polars = { version = "0.32.0", features = ["lazy", "rows", "ndarray"] }
pyo3-polars = "0.6.0"
pywr-schema = { git = "https://github.com/pywr/pywr-schema/", tag="v0.6.0" }
pywr-schema = { git = "https://github.com/pywr/pywr-schema/", tag="v0.7.0" }
rhai = { version="1.12.0", features=["sync"] }

# Binary dependencies
Expand Down
1 change: 1 addition & 0 deletions src/schema/parameters/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ impl TryFromV1Parameter<ParameterV1> for Parameter {
CoreParameter::TablesArray(p) => {
Parameter::TablesArray(p.try_into_v2_parameter(parent_node, unnamed_count)?)
}
CoreParameter::Min(_) | CoreParameter::Division(_) => todo!(),
},
ParameterV1::Custom(p) => {
println!("Custom parameter: {:?} ({})", p.meta.name, p.ty);
Expand Down

0 comments on commit b0147ca

Please sign in to comment.