The output_values argument was typed as a dict of tuples, however, the code expects a dict of int|str. Closes: https://github.com/brgl/libgpiod/issues/96 Signed-off-by: Vincent Fazio <vfazio@xxxxxxxxx> --- bindings/python/gpiod/chip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/gpiod/chip.py b/bindings/python/gpiod/chip.py index 7692ba4..0a5ac6d 100644 --- a/bindings/python/gpiod/chip.py +++ b/bindings/python/gpiod/chip.py @@ -226,7 +226,7 @@ class Chip: config: dict[tuple[Union[int, str]], Optional[LineSettings]], consumer: Optional[str] = None, event_buffer_size: Optional[int] = None, - output_values: Optional[dict[tuple[Union[int, str]], Value]] = None, + output_values: Optional[dict[Union[int, str], Value]] = None, ) -> LineRequest: """ Request a set of lines for exclusive usage. -- 2.34.1