Add note about `--tpt-proto` controlling `reg_addr`-type

ns_aware
Gud Boi 2026-03-06 12:48:28 -05:00
parent c9b415475f
commit 65660c77c7
1 changed files with 7 additions and 0 deletions

View File

@ -62,6 +62,13 @@ def test_root_passes_tpt_to_sub(
reg_addr: tuple,
debug_mode: bool,
):
# XXX NOTE, the `reg_addr` addr won't be the same type as the
# `tpt_proto_key` would deliver here unless you pass `--tpt-proto
# <tpt_proto_key>` on the CLI.
#
# if tpt_proto_key == 'uds':
# breakpoint()
async def main():
async with tractor.open_nursery(
enable_transports=[tpt_proto_key],