Formatting for python binding.
@@ -30,15 +30,12 @@ impl Model {
for (key, value) in kwargs {
let key: &str = key.extract()?;
match key {
- "name" => {
- name = value.extract()?
- }
+ "name" => name = value.extract()?,
_ => println!("Ignored unknown kwarg option {}", key),
}
}
}
-
let saved: PyResult<Vec<_>> = ToPyResult(
self.model
.execute(|model| model.save(Path::new(folder), name)),
