bindings: python: add type hints for LineRequest's internal members
authorVincent Fazio <vfazio@xes-inc.com>
Thu, 14 Nov 2024 14:51:03 +0000 (08:51 -0600)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 19 Nov 2024 14:21:01 +0000 (15:21 +0100)
commit01efd10160bfcf09566992522aa70319241d3db7
tree982aeef6e28667fd5ede4ce6785d106d6699d360
parent72e51c8a94f508c472c855331ba680bb1d0b95e2
bindings: python: add type hints for LineRequest's internal members

Add type hints for LineRequest's internal members so type checkers can
ensure the code properly constrains to these types and accounts for
scenarios where the values are `None`.

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Link: https://lore.kernel.org/r/20241114145116.2123714-11-vfazio@xes-inc.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/python/gpiod/line_request.py