@@ -4,34 +4,25 @@ use geo_types::{coord, Coord};
44use itertools:: Itertools ;
55use pg_interval:: Interval ;
66use postgres_array:: { Array , Dimension } ;
7- use postgres_types:: { Field , FromSql , Kind , Type } ;
87use rust_decimal:: Decimal ;
98use serde_json:: { json, Map , Value } ;
109use std:: net:: IpAddr ;
11- use tokio_postgres:: { Column , Row } ;
1210use uuid:: Uuid ;
1311
1412use pyo3:: {
1513 types:: {
1614 PyAnyMethods , PyBool , PyBytes , PyDate , PyDateTime , PyDelta , PyDict , PyDictMethods , PyFloat ,
17- PyInt , PyList , PyListMethods , PyMapping , PySequence , PySet , PyString , PyTime , PyTuple ,
18- PyTypeMethods ,
15+ PyInt , PyList , PyMapping , PySequence , PySet , PyString , PyTime , PyTuple , PyTypeMethods ,
1916 } ,
20- Bound , FromPyObject , IntoPy , Py , PyAny , Python , ToPyObject ,
17+ Bound , FromPyObject , Py , PyAny , Python ,
2118} ;
2219
2320use crate :: {
24- additional_types:: {
25- Circle , Line , RustLineSegment , RustLineString , RustMacAddr6 , RustMacAddr8 , RustPoint ,
26- RustRect ,
27- } ,
2821 exceptions:: rust_errors:: { RustPSQLDriverError , RustPSQLDriverPyResult } ,
2922 extra_types:: { self } ,
3023 value_converter:: { consts:: KWARGS_QUERYSTRINGS , models:: dto:: PythonDTO } ,
3124} ;
3225
33- use pgvector:: Vector as PgVector ;
34-
3526/// Convert single python parameter to `PythonDTO` enum.
3627///
3728/// # Errors
0 commit comments