Removed not needed comments
This commit is contained in:
Generated
+1
-1
@@ -17,7 +17,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "airlock_libs"
|
||||
version = "1.0.0-alpha"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"indicatif",
|
||||
|
||||
@@ -60,7 +60,6 @@ pub fn pull_policy_exec_histories(
|
||||
policy_names: String,
|
||||
exec_types: String,
|
||||
days: i64,
|
||||
//output_json: bool,
|
||||
) -> Py<PyString> {
|
||||
let file_path: PathBuf = format!(
|
||||
"{}\\cache\\chunkinator.json",
|
||||
@@ -186,10 +185,7 @@ pub fn pull_policy_exec_histories(
|
||||
}
|
||||
progress_bar.finish_with_message("All Checkpoints Complete");
|
||||
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()
|
||||
//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 {
|
||||
|
||||
Reference in New Issue
Block a user