@@ -213,6 +213,7 @@ fn parse_xml_pandas<'py>(
213213}
214214
215215#[ pyfunction]
216+ #[ pyo3( signature = ( xml_file, * , short_names=false ) ) ]
216217fn _parse_flat_file_to_dict (
217218 py : Python ,
218219 xml_file : PathBuf ,
@@ -225,6 +226,7 @@ fn _parse_flat_file_to_dict(
225226}
226227
227228#[ pyfunction]
229+ #[ pyo3( signature = ( xml_file, * , short_names=false ) ) ]
228230fn _parse_flat_file_to_pandas_dict (
229231 py : Python ,
230232 xml_file : PathBuf ,
@@ -237,6 +239,7 @@ fn _parse_flat_file_to_pandas_dict(
237239}
238240
239241#[ pyfunction]
242+ #[ pyo3( signature = ( xml_file) ) ]
240243fn parse_site_native_file ( _py : Python , xml_file : PathBuf ) -> PyResult < SiteNative > {
241244 match parse_site_native_file_rs ( & xml_file) {
242245 Ok ( native) => Ok ( native) ,
@@ -248,6 +251,7 @@ fn parse_site_native_file(_py: Python, xml_file: PathBuf) -> PyResult<SiteNative
248251}
249252
250253#[ pyfunction]
254+ #[ pyo3( signature = ( xml_str) ) ]
251255fn parse_site_native_string ( _py : Python , xml_str : & str ) -> PyResult < SiteNative > {
252256 match parse_site_native_string_rs ( xml_str) {
253257 Ok ( native) => Ok ( native) ,
@@ -256,6 +260,7 @@ fn parse_site_native_string(_py: Python, xml_str: &str) -> PyResult<SiteNative>
256260}
257261
258262#[ pyfunction]
263+ #[ pyo3( signature = ( xml_file) ) ]
259264fn parse_subject_native_file ( _py : Python , xml_file : PathBuf ) -> PyResult < SubjectNative > {
260265 match parse_subject_native_file_rs ( & xml_file) {
261266 Ok ( native) => Ok ( native) ,
@@ -267,6 +272,7 @@ fn parse_subject_native_file(_py: Python, xml_file: PathBuf) -> PyResult<Subject
267272}
268273
269274#[ pyfunction]
275+ #[ pyo3( signature = ( xml_str) ) ]
270276fn parse_subject_native_string ( _py : Python , xml_str : & str ) -> PyResult < SubjectNative > {
271277 match parse_subject_native_string_rs ( xml_str) {
272278 Ok ( native) => Ok ( native) ,
@@ -275,6 +281,7 @@ fn parse_subject_native_string(_py: Python, xml_str: &str) -> PyResult<SubjectNa
275281}
276282
277283#[ pyfunction]
284+ #[ pyo3( signature = ( xml_file) ) ]
278285fn parse_user_native_file ( _py : Python , xml_file : PathBuf ) -> PyResult < UserNative > {
279286 match parse_user_native_file_rs ( & xml_file) {
280287 Ok ( native) => Ok ( native) ,
@@ -286,6 +293,7 @@ fn parse_user_native_file(_py: Python, xml_file: PathBuf) -> PyResult<UserNative
286293}
287294
288295#[ pyfunction]
296+ #[ pyo3( signature = ( xml_str) ) ]
289297fn parse_user_native_string ( _py : Python , xml_str : & str ) -> PyResult < UserNative > {
290298 match parse_user_native_string_rs ( xml_str) {
291299 Ok ( native) => Ok ( native) ,
0 commit comments