Add missing defaults to third-party stubs (#14617)

This commit is contained in:
Jelle Zijlstra
2025-08-21 13:36:29 -07:00
committed by GitHub
parent 82926783a4
commit 573b57d8da
54 changed files with 383 additions and 376 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ BOTH_EDGE: Final = 3
def add_edge_detect(
chip_fd: int, chip_name: str, channel: int, request: int, bouncetime: int, poll_time: float
) -> Literal[1, 2, 0]: ...
def remove_edge_detect(chip_name: str, channel: int, timeout: float = ...) -> None: ...
def remove_edge_detect(chip_name: str, channel: int, timeout: float = 0.3) -> None: ...
def add_edge_callback(chip_name: str, channel: int, callback: Callable[[int], None]) -> None: ...
def edge_event_detected(chip_name: str, channel: int) -> bool: ...
def gpio_event_added(chip_name: str, channel: int) -> Any: ...