Skip to content

Commit

Permalink
pw_system: Add type annotation to pw_system.device.Device() write arg
Browse files Browse the repository at this point in the history
Change-Id: I6f65a1fa933192f1081bc3d3520f4ebf14aac443
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/229653
Commit-Queue: Auto-Submit <[email protected]>
Pigweed-Auto-Submit: Jonathon Reinhart <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
Lint: Lint 🤖 <[email protected]>
Reviewed-by: Carlos Chinchilla <[email protected]>
  • Loading branch information
JonathonReinhart authored and CQ Bot Account committed Aug 14, 2024
1 parent 5edaf29 commit 63604e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pw_system/py/pw_system/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(
self,
channel_id: int,
reader: rpc.CancellableReader,
write,
write: Callable[[bytes], Any],
proto_library: Iterable[ModuleType | Path],
detokenizer: detokenize.Detokenizer | None = None,
timestamp_decoder: Callable[[int], str] | None = None,
Expand Down

0 comments on commit 63604e6

Please sign in to comment.