We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38f8b1f commit bc9bedfCopy full SHA for bc9bedf
pgml-extension/src/orm/model.rs
@@ -89,7 +89,7 @@ impl Model {
89
};
90
91
if runtime == Runtime::python {
92
- crate::bindings::python::activate().unwrap();
+ let _ = crate::bindings::python::activate();
93
}
94
95
let dataset = snapshot.tabular_dataset();
@@ -333,7 +333,10 @@ impl Model {
333
334
335
#[cfg(feature = "python")]
336
- Runtime::python => crate::bindings::sklearn::Estimator::from_bytes(&data)?,
+ Runtime::python => {
337
338
+ crate::bindings::sklearn::Estimator::from_bytes(&data)?
339
+ }
340
341
#[cfg(not(feature = "python"))]
342
Runtime::python => {
0 commit comments