Skip to content

Commit

Permalink
chore: removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ashupednekar committed May 1, 2024
1 parent fc61974 commit 4f21d50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/handlers/utils/invoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub fn call_python(
kwargs.insert("headers", get_headers_map(&headers));
view.call_bound(
py,
PyTuple::new(py, path_params),
PyTuple::new_bound(py, path_params),
Some(&kwargs.into_py_dict_bound(py)),
)
/*view.call1(
Expand Down
3 changes: 0 additions & 3 deletions src/handlers/utils/request.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
use axum::extract::OriginalUri;
use axum::http::header::{HeaderMap, HeaderValue};
use pyo3::prelude::{PyObject, PyResult};
use regex::Regex;
use serde_json::{Map, Value};
use std::collections::HashMap;
/*fn headers_to_dict(headers: HeaderMap) -> PyDict {
let mut dict = PyDict::new();
for (key, value) in headers.iter() {
Expand Down

0 comments on commit 4f21d50

Please sign in to comment.