@@ -33,7 +33,7 @@ impl LogicalNode for PyTransactionStart {
3333 vec ! [ ]
3434 }
3535
36- fn to_variant < ' py > ( & self , py : Python < ' py > ) -> PyResult < PyObject > {
36+ fn to_variant ( & self , py : Python < ' _ > ) -> PyResult < PyObject > {
3737 Ok ( self . clone ( ) . into_py ( py) )
3838 }
3939}
@@ -166,7 +166,7 @@ impl LogicalNode for PyTransactionEnd {
166166 vec ! [ ]
167167 }
168168
169- fn to_variant < ' py > ( & self , py : Python < ' py > ) -> PyResult < PyObject > {
169+ fn to_variant ( & self , py : Python < ' _ > ) -> PyResult < PyObject > {
170170 Ok ( self . clone ( ) . into_py ( py) )
171171 }
172172}
@@ -241,7 +241,7 @@ impl LogicalNode for PySetVariable {
241241 vec ! [ ]
242242 }
243243
244- fn to_variant < ' py > ( & self , py : Python < ' py > ) -> PyResult < PyObject > {
244+ fn to_variant ( & self , py : Python < ' _ > ) -> PyResult < PyObject > {
245245 Ok ( self . clone ( ) . into_py ( py) )
246246 }
247247}
@@ -289,7 +289,7 @@ impl LogicalNode for PyPrepare {
289289 vec ! [ PyLogicalPlan :: from( ( * self . prepare. input) . clone( ) ) ]
290290 }
291291
292- fn to_variant < ' py > ( & self , py : Python < ' py > ) -> PyResult < PyObject > {
292+ fn to_variant ( & self , py : Python < ' _ > ) -> PyResult < PyObject > {
293293 Ok ( self . clone ( ) . into_py ( py) )
294294 }
295295}
@@ -301,7 +301,7 @@ impl PyPrepare {
301301 let input = input. plan ( ) . clone ( ) ;
302302 let data_types = data_types
303303 . into_iter ( )
304- . map ( |data_type| data_type. try_into ( ) . unwrap ( ) )
304+ . map ( |data_type| data_type. into ( ) )
305305 . collect ( ) ;
306306 PyPrepare {
307307 prepare : Prepare {
@@ -357,7 +357,7 @@ impl LogicalNode for PyExecute {
357357 vec ! [ ]
358358 }
359359
360- fn to_variant < ' py > ( & self , py : Python < ' py > ) -> PyResult < PyObject > {
360+ fn to_variant ( & self , py : Python < ' _ > ) -> PyResult < PyObject > {
361361 Ok ( self . clone ( ) . into_py ( py) )
362362 }
363363}
@@ -368,7 +368,7 @@ impl PyExecute {
368368 pub fn new ( name : String , parameters : Vec < PyExpr > ) -> Self {
369369 let parameters = parameters
370370 . into_iter ( )
371- . map ( |parameter| parameter. try_into ( ) . unwrap ( ) )
371+ . map ( |parameter| parameter. into ( ) )
372372 . collect ( ) ;
373373 PyExecute {
374374 execute : Execute { name, parameters } ,
@@ -414,7 +414,7 @@ impl LogicalNode for PyDeallocate {
414414 vec ! [ ]
415415 }
416416
417- fn to_variant < ' py > ( & self , py : Python < ' py > ) -> PyResult < PyObject > {
417+ fn to_variant ( & self , py : Python < ' _ > ) -> PyResult < PyObject > {
418418 Ok ( self . clone ( ) . into_py ( py) )
419419 }
420420}
0 commit comments