Content-Length: 287382 | pFad | http://github.com/postgresml/postgresml/commit/bc9bedf3aa4b282262d3e03a6fcbfad0dec62b43
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 => {
Fetched URL: http://github.com/postgresml/postgresml/commit/bc9bedf3aa4b282262d3e03a6fcbfad0dec62b43
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments