Message ID | 20240914183352.16090-1-vfazio@gmail.com |
---|---|
State | New |
Headers | show |
Series | [libgpiod] bindings: python: fix Chip.request_lines typing | expand |
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.
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@gmail.com> --- bindings/python/gpiod/chip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)