RustImplementation #23

Merged
mysticmomba merged 118 commits from RustImplementation into master 2025-11-04 18:13:24 -05:00
2 changed files with 1 additions and 5 deletions
Showing only changes of commit 87b9bfa938 - Show all commits
+1 -1
View File
@@ -17,7 +17,7 @@ dependencies = [
[[package]] [[package]]
name = "airlock_libs" name = "airlock_libs"
version = "1.0.0-alpha" version = "1.0.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"indicatif", "indicatif",
-4
View File
@@ -60,7 +60,6 @@ pub fn pull_policy_exec_histories(
policy_names: String, policy_names: String,
exec_types: String, exec_types: String,
days: i64, days: i64,
//output_json: bool,
) -> Py<PyString> { ) -> Py<PyString> {
let file_path: PathBuf = format!( let file_path: PathBuf = format!(
"{}\\cache\\chunkinator.json", "{}\\cache\\chunkinator.json",
@@ -186,10 +185,7 @@ pub fn pull_policy_exec_histories(
} }
progress_bar.finish_with_message("All Checkpoints Complete"); progress_bar.finish_with_message("All Checkpoints Complete");
let return_data = fs::read_to_string(&writeable_filepath).unwrap(); let return_data = fs::read_to_string(&writeable_filepath).unwrap();
//let json_data = serde_json::from_str(&return_data).unwrap();
PyString::new(py, &return_data).into() PyString::new(py, &return_data).into()
//let py_any: Py<String> = serde_pyobject::to_pyobject(py, &json_data).unwrap().into();
//py_any
} }
fn build_client(py: Python<'_>, py_self: &Py<PyAny>) -> Client { fn build_client(py: Python<'_>, py_self: &Py<PyAny>) -> Client {