@@ -739,11 +739,11 @@ impl PyExpr {
739739 . with_fmt ( "str.hex_encode" )
740740 . into ( )
741741 }
742- pub fn str_hex_decode ( & self ) -> PyExpr {
742+ pub fn str_hex_decode ( & self , strict : bool ) -> PyExpr {
743743 self . clone ( )
744744 . inner
745745 . map (
746- move |s| s. utf8 ( ) ?. hex_decode ( ) . map ( |s| s. into_series ( ) ) ,
746+ move |s| s. utf8 ( ) ?. hex_decode ( strict ) . map ( |s| s. into_series ( ) ) ,
747747 GetOutput :: same_type ( ) ,
748748 )
749749 . with_fmt ( "str.hex_decode" )
@@ -760,11 +760,11 @@ impl PyExpr {
760760 . into ( )
761761 }
762762
763- pub fn str_base64_decode ( & self ) -> PyExpr {
763+ pub fn str_base64_decode ( & self , strict : bool ) -> PyExpr {
764764 self . clone ( )
765765 . inner
766766 . map (
767- move |s| s. utf8 ( ) ?. base64_decode ( ) . map ( |s| s. into_series ( ) ) ,
767+ move |s| s. utf8 ( ) ?. base64_decode ( strict ) . map ( |s| s. into_series ( ) ) ,
768768 GetOutput :: same_type ( ) ,
769769 )
770770 . with_fmt ( "str.base64_decode" )
@@ -781,11 +781,11 @@ impl PyExpr {
781781 . with_fmt ( "binary.hex_encode" )
782782 . into ( )
783783 }
784- pub fn binary_hex_decode ( & self ) -> PyExpr {
784+ pub fn binary_hex_decode ( & self , strict : bool ) -> PyExpr {
785785 self . clone ( )
786786 . inner
787787 . map (
788- move |s| s. binary ( ) ?. hex_decode ( ) . map ( |s| s. into_series ( ) ) ,
788+ move |s| s. binary ( ) ?. hex_decode ( strict ) . map ( |s| s. into_series ( ) ) ,
789789 GetOutput :: same_type ( ) ,
790790 )
791791 . with_fmt ( "binary.hex_decode" )
@@ -802,11 +802,11 @@ impl PyExpr {
802802 . into ( )
803803 }
804804
805- pub fn binary_base64_decode ( & self ) -> PyExpr {
805+ pub fn binary_base64_decode ( & self , strict : bool ) -> PyExpr {
806806 self . clone ( )
807807 . inner
808808 . map (
809- move |s| s. binary ( ) ?. base64_decode ( ) . map ( |s| s. into_series ( ) ) ,
809+ move |s| s. binary ( ) ?. base64_decode ( strict ) . map ( |s| s. into_series ( ) ) ,
810810 GetOutput :: same_type ( ) ,
811811 )
812812 . with_fmt ( "binary.base64_decode" )
0 commit comments