Skip to content

Commit

Permalink
sets should_save_to_env default to false in PyKeyfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheem-opentensor committed Dec 11, 2024
1 parent 00bb649 commit 911e15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct PyKeyfile {
#[pymethods]
impl PyKeyfile {
#[new]
#[pyo3(signature = (path=None, name=None, should_save_to_env=true))]
#[pyo3(signature = (path=None, name=None, should_save_to_env=false))]
fn new(path: Option<String>, name: Option<String>, should_save_to_env: bool) -> Self {
PyKeyfile {
inner: RustKeyfile::new(path.unwrap_or_default(), name, should_save_to_env)
Expand Down

0 comments on commit 911e15f

Please sign in to comment.