Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218316/?format=api
{ "id": 2218316, "url": "http://patchwork.ozlabs.org/api/patches/2218316/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260401001459.19159-6-vfazio@gmail.com/", "project": { "id": 42, "url": "http://patchwork.ozlabs.org/api/projects/42/?format=api", "name": "Linux GPIO development", "link_name": "linux-gpio", "list_id": "linux-gpio.vger.kernel.org", "list_email": "linux-gpio@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260401001459.19159-6-vfazio@gmail.com>", "list_archive_url": null, "date": "2026-04-01T00:14:55", "name": "[libgpiod,6/9] bindings: python: examples: add type annotations", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "ac5cf069356589ca8ca263d8cb20e9715af94d6e", "submitter": { "id": 78694, "url": "http://patchwork.ozlabs.org/api/people/78694/?format=api", "name": "Vincent Fazio", "email": "vfazio@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260401001459.19159-6-vfazio@gmail.com/mbox/", "series": [ { "id": 498263, "url": "http://patchwork.ozlabs.org/api/series/498263/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=498263", "date": "2026-04-01T00:14:50", "name": "[libgpiod,1/9] bindings: python: build_tests: do not fallback to distutils", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498263/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2218316/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2218316/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-gpio+bounces-34515-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-gpio@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=i2mTfZPl;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-gpio+bounces-34515-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"i2mTfZPl\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.210.41", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fllyb6tzsz1yGH\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 11:21:11 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id D494C309358A\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 1 Apr 2026 00:18:11 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 667AB19005E;\n\tWed, 1 Apr 2026 00:18:11 +0000 (UTC)", "from mail-ot1-f41.google.com (mail-ot1-f41.google.com\n [209.85.210.41])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 9739F54774\n\tfor <linux-gpio@vger.kernel.org>; Wed, 1 Apr 2026 00:18:09 +0000 (UTC)", "by mail-ot1-f41.google.com with SMTP id\n 46e09a7af769-7d744d9acbeso2612333a34.1\n for <linux-gpio@vger.kernel.org>;\n Tue, 31 Mar 2026 17:18:09 -0700 (PDT)", "from Zephyrus.localdomain ([131.93.209.211])\n by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7da0a7ea668sm9173679a34.19.2026.03.31.17.18.07\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 31 Mar 2026 17:18:07 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775002691; cv=none;\n b=QQzUidFY+c1Vt/GVvuoTIl0ne7Rcpz0CgCB9F8k7G6VrKelQkTIhAAWdhkuOiwv3tnEa4XwV4oXRolo/5y7RODv0PunhCjUPvtCqazuiz+dq7phvYRPHZpeuOwC88xWPgR4sf6K7U0S7k3/ezv+QvNgCFGoRimMqQYCiFTZBX5A=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775002691; c=relaxed/simple;\n\tbh=hzZDRtRV/H700buyCd1Wztfj71qlJZdLde2jIe9ZCXI=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=abGhJlTzQXpbsWuYFtF/BRvqn8o6Ho9vlALBlMKqrG50GurexQ4BZ/mo5XEMW5sz67yFKj/IPjxamq3LZRuyKFShhfrkGZaEqYatBnm6Dd0MW2PqvEnWxFbG46JmSkC8hzGsIqP1t3s7pk7xHgyeo9uaxRGoMB/ud9bewYjQdg8=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=i2mTfZPl; arc=none smtp.client-ip=209.85.210.41", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775002688; x=1775607488;\n darn=vger.kernel.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=qS1IR6h1A6KBA8WAe7dnZ6uw7ZjCJhyeETtH4oVvRpI=;\n b=i2mTfZPl/Ga1M944RFkhdSvlpsK5RcoAfsei30/zcLjjqY3LW1JO9DQU+0jr1hKJUA\n ziRwFuehoWCaz5VJJwL3gDIx9l4IyYTf3QF1AgQXyha41dMJiQpUH9rOD1AEW2VBSra0\n dxdtbuMiyscYd/CAtVVRGrHPIHZ9hcngIZwAQLRRIw2AKd8ZjrRgF0ORlCrVaGUGoRdY\n sD4sqAlVx1F8gg6x2JDOlkA2mTmO6y5eWj4j3Nhukw2aKaUtRBcX6U/wHY2x5i1F3oXf\n 93xq5Rm3xEP2Cd8ODw+fTo8pUPSLSNWYcHOhpLmlWhe9wbo0ZTjNtw8uTZaFHIf0hHZn\n iLwA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775002688; x=1775607488;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=qS1IR6h1A6KBA8WAe7dnZ6uw7ZjCJhyeETtH4oVvRpI=;\n b=q0ZLZCuS+9jO4es8WqIo/Vj5czvBtCsv5u1bz5Jr2ls+Q1TesBQNATMpjA6XMO3bh0\n SUdsSkBdYOzuAJ85s35wUBXcBLtPqNmzJC2zxp+4I9Uky7z2VpsxZ6dY2tjUvdwQkj9B\n IzhuRdJSIi4ZV4wF1GZlIgBCavP2JvIJ+eWVPKgCHZPh/B2qVvOYPx+hG2nwEjFJ0x6A\n NGY5q9cntRiGdypMh3Y5gN/+kuDRIStw05zUA82C65tTxeCFEPhEO61uVfVrcPyyYLT6\n bqfkye7+6CcDdVDfcV1Xw8jO/Jn3vQVtw4VFfYTmMpJiXms02W3g8MgGSbBNs5Fae781\n E4Lw==", "X-Gm-Message-State": "AOJu0YwBIVXPoeSZyG046ddRBwwUJKbVfVTjkW4ZBOeeKpJbkEcbLGVx\n\tOIGVAwJjWuMYaeWTxsn8HED1vqCUIO2hwQQo4o0+htjA6l0KL/RTL3np5g3JMQ==", "X-Gm-Gg": "ATEYQzzJSGEJFl2vr+slinCDlMyG5p+F1nfqQ2OetO15ZNdCVcfjNuWlF27EXvnRXs2\n\tIYNZT/EesLdSi/rg+XTNe3gkT3m25RQXSQH/XuCqPHVdCL0c8a+UeEGPo0vTVlebxujQRyRJJlC\n\tNyq1LYLozL2DBGwaOSNEXsiqtD3Yv5QefqCVVrHfQF3eJH34QSCxPDy+0xQiafGgTzD6bdg9WfD\n\tf1uj3kbszBkcIiCHcZZoJGvbkvqYJfeHBLqF9O442HrO4TjlTUpQpjmzlxKvZrWw/J/eH3HPg2v\n\tdic6iEzlk+kXNyRUVCyjTtGa7BPSXCrljLsyDotTn5kMcFycbuv5ZWj+9uagCzRxWWhPBL0Fy4Y\n\t3VL18YL7MupxU72p49tLpVq3dHwQ19Nq320e0rtkIdMDKIO+2XET7nzutGREgouRYEwQqE979ky\n\t7b6XvFPYIB40xLDwKT0BRw+lExbOshAFkQzP2jpWr9KZVbdFfWSwMszCvRvwPZmTdyck7BTsWQ", "X-Received": "by 2002:a05:6830:2713:b0:7d7:d100:2613 with SMTP id\n 46e09a7af769-7db992588eemr1041162a34.1.1775002688240;\n Tue, 31 Mar 2026 17:18:08 -0700 (PDT)", "From": "Vincent Fazio <vfazio@gmail.com>", "To": "linux-gpio@vger.kernel.org", "Cc": "Vincent Fazio <vfazio@gmail.com>", "Subject": "[libgpiod][PATCH 6/9] bindings: python: examples: add type\n annotations", "Date": "Tue, 31 Mar 2026 19:14:55 -0500", "Message-ID": "<20260401001459.19159-6-vfazio@gmail.com>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260401001459.19159-1-vfazio@gmail.com>", "References": "<20260401001459.19159-1-vfazio@gmail.com>", "Precedence": "bulk", "X-Mailing-List": "linux-gpio@vger.kernel.org", "List-Id": "<linux-gpio.vger.kernel.org>", "List-Subscribe": "<mailto:linux-gpio+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-gpio+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "Add type annotations to help with lint checks.\n\nSigned-off-by: Vincent Fazio <vfazio@gmail.com>\n---\n bindings/python/examples/async_watch_line_value.py | 8 +++++---\n bindings/python/examples/find_line_by_name.py | 5 +++--\n bindings/python/examples/get_chip_info.py | 2 +-\n bindings/python/examples/get_line_info.py | 2 +-\n bindings/python/examples/get_line_value.py | 2 +-\n bindings/python/examples/get_multiple_line_values.py | 4 +++-\n bindings/python/examples/reconfigure_input_to_output.py | 2 +-\n bindings/python/examples/toggle_line_value.py | 4 ++--\n bindings/python/examples/toggle_multiple_line_values.py | 6 ++++--\n bindings/python/examples/watch_line_info.py | 4 +++-\n bindings/python/examples/watch_line_rising.py | 2 +-\n bindings/python/examples/watch_line_value.py | 5 +++--\n bindings/python/examples/watch_multiple_line_values.py | 8 +++++---\n 13 files changed, 33 insertions(+), 21 deletions(-)", "diff": "diff --git a/bindings/python/examples/async_watch_line_value.py b/bindings/python/examples/async_watch_line_value.py\nindex ec42e04..640a4c5 100755\n--- a/bindings/python/examples/async_watch_line_value.py\n+++ b/bindings/python/examples/async_watch_line_value.py\n@@ -8,10 +8,12 @@ import gpiod\n import select\n \n from datetime import timedelta\n+\n+from gpiod.edge_event import EdgeEvent\n from gpiod.line import Bias, Edge\n \n \n-def edge_type_str(event):\n+def edge_type_str(event: EdgeEvent) -> str:\n if event.event_type is event.Type.RISING_EDGE:\n return \"Rising\"\n if event.event_type is event.Type.FALLING_EDGE:\n@@ -19,7 +21,7 @@ def edge_type_str(event):\n return \"Unknown\"\n \n \n-def async_watch_line_value(chip_path, line_offset, done_fd):\n+def async_watch_line_value(chip_path: str, line_offset: int, done_fd: int) -> None:\n # Assume a button connecting the pin to ground,\n # so pull it up and provide some debounce.\n with gpiod.request_lines(\n@@ -59,7 +61,7 @@ if __name__ == \"__main__\":\n # run the async executor (select.poll) in a thread to demonstrate a graceful exit.\n done_fd = os.eventfd(0)\n \n- def bg_thread():\n+ def bg_thread() -> None:\n try:\n async_watch_line_value(\"/dev/gpiochip0\", 5, done_fd)\n except OSError as ex:\ndiff --git a/bindings/python/examples/find_line_by_name.py b/bindings/python/examples/find_line_by_name.py\nindex ac798a9..4ed3848 100755\n--- a/bindings/python/examples/find_line_by_name.py\n+++ b/bindings/python/examples/find_line_by_name.py\n@@ -6,15 +6,16 @@\n \n import gpiod\n import os\n+from collections.abc import Generator\n \n \n-def generate_gpio_chips():\n+def generate_gpio_chips() -> Generator[str]:\n for entry in os.scandir(\"/dev/\"):\n if gpiod.is_gpiochip_device(entry.path):\n yield entry.path\n \n \n-def find_line_by_name(line_name):\n+def find_line_by_name(line_name: str) -> None:\n # Names are not guaranteed unique, so this finds the first line with\n # the given name.\n for path in generate_gpio_chips():\ndiff --git a/bindings/python/examples/get_chip_info.py b/bindings/python/examples/get_chip_info.py\nindex 7dc76fb..037e424 100755\n--- a/bindings/python/examples/get_chip_info.py\n+++ b/bindings/python/examples/get_chip_info.py\n@@ -7,7 +7,7 @@\n import gpiod\n \n \n-def get_chip_info(chip_path):\n+def get_chip_info(chip_path: str) -> None:\n with gpiod.Chip(chip_path) as chip:\n info = chip.get_info()\n print(\"{} [{}] ({} lines)\".format(info.name, info.label, info.num_lines))\ndiff --git a/bindings/python/examples/get_line_info.py b/bindings/python/examples/get_line_info.py\nindex cd4ebcc..8e7283e 100755\n--- a/bindings/python/examples/get_line_info.py\n+++ b/bindings/python/examples/get_line_info.py\n@@ -7,7 +7,7 @@\n import gpiod\n \n \n-def get_line_info(chip_path, line_offset):\n+def get_line_info(chip_path: str, line_offset: int) -> None:\n with gpiod.Chip(chip_path) as chip:\n info = chip.get_line_info(line_offset)\n is_input = info.direction == gpiod.line.Direction.INPUT\ndiff --git a/bindings/python/examples/get_line_value.py b/bindings/python/examples/get_line_value.py\nindex f3ca13b..5ca952b 100755\n--- a/bindings/python/examples/get_line_value.py\n+++ b/bindings/python/examples/get_line_value.py\n@@ -9,7 +9,7 @@ import gpiod\n from gpiod.line import Direction\n \n \n-def get_line_value(chip_path, line_offset):\n+def get_line_value(chip_path: str, line_offset: int) -> None:\n with gpiod.request_lines(\n chip_path,\n consumer=\"get-line-value\",\ndiff --git a/bindings/python/examples/get_multiple_line_values.py b/bindings/python/examples/get_multiple_line_values.py\nindex 46cf0b2..f70369f 100755\n--- a/bindings/python/examples/get_multiple_line_values.py\n+++ b/bindings/python/examples/get_multiple_line_values.py\n@@ -4,12 +4,14 @@\n \n \"\"\"Minimal example of reading multiple lines.\"\"\"\n \n+from collections.abc import Iterable\n+\n import gpiod\n \n from gpiod.line import Direction\n \n \n-def get_multiple_line_values(chip_path, line_offsets):\n+def get_multiple_line_values(chip_path: str, line_offsets: Iterable[int]) -> None:\n with gpiod.request_lines(\n chip_path,\n consumer=\"get-multiple-line-values\",\ndiff --git a/bindings/python/examples/reconfigure_input_to_output.py b/bindings/python/examples/reconfigure_input_to_output.py\nindex 0f2e358..feb5f0b 100755\n--- a/bindings/python/examples/reconfigure_input_to_output.py\n+++ b/bindings/python/examples/reconfigure_input_to_output.py\n@@ -9,7 +9,7 @@ import gpiod\n from gpiod.line import Direction, Value\n \n \n-def reconfigure_input_to_output(chip_path, line_offset):\n+def reconfigure_input_to_output(chip_path: str, line_offset: int) -> None:\n # request the line initially as an input\n with gpiod.request_lines(\n chip_path,\ndiff --git a/bindings/python/examples/toggle_line_value.py b/bindings/python/examples/toggle_line_value.py\nindex e0de8fb..bc948de 100755\n--- a/bindings/python/examples/toggle_line_value.py\n+++ b/bindings/python/examples/toggle_line_value.py\n@@ -10,13 +10,13 @@ import time\n from gpiod.line import Direction, Value\n \n \n-def toggle_value(value):\n+def toggle_value(value: Value) -> Value:\n if value == Value.INACTIVE:\n return Value.ACTIVE\n return Value.INACTIVE\n \n \n-def toggle_line_value(chip_path, line_offset):\n+def toggle_line_value(chip_path: str, line_offset: int) -> None:\n value_str = {Value.ACTIVE: \"Active\", Value.INACTIVE: \"Inactive\"}\n value = Value.ACTIVE\n \ndiff --git a/bindings/python/examples/toggle_multiple_line_values.py b/bindings/python/examples/toggle_multiple_line_values.py\nindex 12b968d..74ff587 100755\n--- a/bindings/python/examples/toggle_multiple_line_values.py\n+++ b/bindings/python/examples/toggle_multiple_line_values.py\n@@ -10,13 +10,15 @@ import time\n from gpiod.line import Direction, Value\n \n \n-def toggle_value(value):\n+def toggle_value(value: Value) -> Value:\n if value == Value.INACTIVE:\n return Value.ACTIVE\n return Value.INACTIVE\n \n \n-def toggle_multiple_line_values(chip_path, line_values):\n+def toggle_multiple_line_values(\n+ chip_path: str, line_values: dict[int | str, Value]\n+) -> None:\n value_str = {Value.ACTIVE: \"Active\", Value.INACTIVE: \"Inactive\"}\n \n request = gpiod.request_lines(\ndiff --git a/bindings/python/examples/watch_line_info.py b/bindings/python/examples/watch_line_info.py\nindex e49a669..8ae5ac0 100755\n--- a/bindings/python/examples/watch_line_info.py\n+++ b/bindings/python/examples/watch_line_info.py\n@@ -4,10 +4,12 @@\n \n \"\"\"Minimal example of watching for info changes on particular lines.\"\"\"\n \n+from collections.abc import Iterable\n+\n import gpiod\n \n \n-def watch_line_info(chip_path, line_offsets):\n+def watch_line_info(chip_path: str, line_offsets: Iterable[int]) -> None:\n with gpiod.Chip(chip_path) as chip:\n for offset in line_offsets:\n chip.watch_line_info(offset)\ndiff --git a/bindings/python/examples/watch_line_rising.py b/bindings/python/examples/watch_line_rising.py\nindex 7b1c6b0..2f7f25f 100755\n--- a/bindings/python/examples/watch_line_rising.py\n+++ b/bindings/python/examples/watch_line_rising.py\n@@ -9,7 +9,7 @@ import gpiod\n from gpiod.line import Edge\n \n \n-def watch_line_rising(chip_path, line_offset):\n+def watch_line_rising(chip_path: str, line_offset: int) -> None:\n with gpiod.request_lines(\n chip_path,\n consumer=\"watch-line-rising\",\ndiff --git a/bindings/python/examples/watch_line_value.py b/bindings/python/examples/watch_line_value.py\nindex 171a67c..9b84d29 100755\n--- a/bindings/python/examples/watch_line_value.py\n+++ b/bindings/python/examples/watch_line_value.py\n@@ -7,10 +7,11 @@\n import gpiod\n \n from datetime import timedelta\n+from gpiod.edge_event import EdgeEvent\n from gpiod.line import Bias, Edge\n \n \n-def edge_type_str(event):\n+def edge_type_str(event: EdgeEvent) -> str:\n if event.event_type is event.Type.RISING_EDGE:\n return \"Rising\"\n if event.event_type is event.Type.FALLING_EDGE:\n@@ -18,7 +19,7 @@ def edge_type_str(event):\n return \"Unknown\"\n \n \n-def watch_line_value(chip_path, line_offset):\n+def watch_line_value(chip_path: str, line_offset: int) -> None:\n # Assume a button connecting the pin to ground,\n # so pull it up and provide some debounce.\n with gpiod.request_lines(\ndiff --git a/bindings/python/examples/watch_multiple_line_values.py b/bindings/python/examples/watch_multiple_line_values.py\nindex 5906b7d..d0ee35a 100755\n--- a/bindings/python/examples/watch_multiple_line_values.py\n+++ b/bindings/python/examples/watch_multiple_line_values.py\n@@ -4,12 +4,14 @@\n \n \"\"\"Minimal example of watching for edges on multiple lines.\"\"\"\n \n-import gpiod\n+from collections.abc import Iterable\n \n+import gpiod\n+from gpiod.edge_event import EdgeEvent\n from gpiod.line import Edge\n \n \n-def edge_type_str(event):\n+def edge_type_str(event: EdgeEvent) -> str:\n if event.event_type is event.Type.RISING_EDGE:\n return \"Rising\"\n if event.event_type is event.Type.FALLING_EDGE:\n@@ -17,7 +19,7 @@ def edge_type_str(event):\n return \"Unknown\"\n \n \n-def watch_multiple_line_values(chip_path, line_offsets):\n+def watch_multiple_line_values(chip_path: str, line_offsets: Iterable[int]) -> None:\n with gpiod.request_lines(\n chip_path,\n consumer=\"watch-multiple-line-values\",\n", "prefixes": [ "libgpiod", "6/9" ] }