Skip to content

Commit

Permalink
update SessionConfig.set that now takes a reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-J-Ward committed Sep 10, 2024
1 parent 0eaf193 commit 94f02de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())));
}
}

Expand Down

0 comments on commit 94f02de

Please sign in to comment.