Skip to content

Commit 71c9642

Browse files
committed
fix: allow clippy too_many_arguments for PyO3 binding
The dicttoxml function signature is dictated by the Python API interface and cannot be refactored without breaking compatibility.
1 parent c1d44da commit 71c9642

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@ fn convert_list(
595595
/// bytes: The XML representation of the input object
596596
#[pyfunction]
597597
#[pyo3(signature = (obj, root=true, custom_root="root", attr_type=true, item_wrap=true, cdata=false, list_headers=false))]
598+
#[allow(clippy::too_many_arguments)]
598599
fn dicttoxml(
599600
py: Python<'_>,
600601
obj: &Bound<'_, PyAny>,

0 commit comments

Comments
 (0)