Skip to content

Commit 32cdee9

Browse files
committed
Small fixes
Signed-off-by: chandr-andr (Kiselev Aleksandr) <[email protected]>
1 parent 7e7a228 commit 32cdee9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/value_converter.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ pub fn convert_parameters(parameters: Py<PyAny>) -> RustPSQLDriverPyResult<Vec<P
325325
/// or value of the type is incorrect.
326326
#[allow(clippy::too_many_lines)]
327327
pub fn py_to_rust(parameter: &pyo3::Bound<'_, PyAny>) -> RustPSQLDriverPyResult<PythonDTO> {
328-
println!("{}", parameter.get_type().name()?);
329328
if parameter.is_none() {
330329
return Ok(PythonDTO::PyNone);
331330
}
@@ -490,7 +489,6 @@ pub fn py_to_rust(parameter: &pyo3::Bound<'_, PyAny>) -> RustPSQLDriverPyResult<
490489
}
491490

492491
if parameter.get_type().name()? == "decimal.Decimal" {
493-
println!("{}", parameter.str()?.extract::<&str>()?);
494492
return Ok(PythonDTO::PyDecimal(Decimal::from_str_exact(
495493
parameter.str()?.extract::<&str>()?,
496494
)?));

0 commit comments

Comments
 (0)