diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml
index e38b44a8..b09e865d 100644
--- a/bindings/python/Cargo.toml
+++ b/bindings/python/Cargo.toml
@@ -11,7 +11,6 @@ crate-type = ["cdylib"]
[dependencies]
anyhow = { workspace = true }
-bumpalo = "3"
either = "1.13"
pyo3 = { version = "0.23", features = ["anyhow", "serde", "either"] }
pyo3-async-runtimes = { version = "0.23", features = ["tokio-runtime", "attributes"] }
diff --git a/bindings/python/src/expression.rs b/bindings/python/src/expression.rs
index 2d32d013..2cd3b31a 100644
--- a/bindings/python/src/expression.rs
+++ b/bindings/python/src/expression.rs
@@ -1,11 +1,10 @@
use crate::variable::PyVariable;
use anyhow::{anyhow, Context};
use either::Either;
-use pyo3::types::{PyAnyMethods, PyDict};
+use pyo3::types::PyDict;
use pyo3::{pyclass, pyfunction, pymethods, Bound, IntoPyObjectExt, Py, PyAny, PyResult, Python};
-use pythonize::depythonize;
+use pythonize::{depythonize, pythonize};
use zen_expression::expression::{Standard, Unary};
-use zen_expression::validate::{validate_expression, validate_unary_expression, ValidationError};
use zen_expression::{Expression, Variable};
#[pyfunction]
@@ -100,29 +99,19 @@ impl PyExpression {
}
#[pyfunction]
-#[pyo3(name = "validate_expression")]
-pub fn py_validate_expression(py: Python, expression: String) -> PyResult