diff --git a/src/context.rs b/src/context.rs index 11b9fed5..a3cc8b5f 100644 --- a/src/context.rs +++ b/src/context.rs @@ -86,7 +86,7 @@ impl PySessionConfig { let mut config = SessionConfig::new(); if let Some(hash_map) = config_options { for (k, v) in &hash_map { - config = config.set(k, ScalarValue::Utf8(Some(v.clone()))); + config = config.set(k, &ScalarValue::Utf8(Some(v.clone()))); } }