tractor/tractor/msg
Gud Boi bffeba952a Use `aid.uid` over manual `(name, uuid)` tuples
The `.uid`->`.aid` migration (prior commits) re-assembled the
legacy uid pair by hand as `(x.aid.name, x.aid.uuid)`.
`Aid.uid` (`msg/types.py`) is the non-deprecated canonical
property returning exactly that pair, so swap to `x.aid.uid`
everywhere — byte-identical, just DRY + consistent.

Covers the 5 review-flagged source sites (`msg._ops`,
`devx.debug._sync`, `experimental._pubsub`, `_exceptions`)
plus the ~22 unflagged identical sites (`_streaming` f-string
logs + 6 test modules); also tightens the `_exceptions`
`our_uid` annotation to `tuple[str, str]`.

Review: PR #469 (copilot-pull-request-reviewer)
https://github.com/goodboy/tractor/pull/469#pullrequestreview-4575979601

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-06-27 21:38:30 -04:00
..
__init__.py Finally get type-extended `msgspec` fields workinn 2025-03-27 15:58:02 -04:00
_codec.py Drop `name=__name__` from all `get_logger()` calls 2026-02-11 21:04:49 -05:00
_exts.py Offer a `mods: list` to `dec_type_union()`; drop importing this-mod 2025-03-27 15:58:02 -04:00
_ops.py Use `aid.uid` over manual `(name, uuid)` tuples 2026-06-27 21:38:30 -04:00
pretty_struct.py Hide private fields in `Struct.pformat()` output 2026-03-10 00:33:32 -04:00
ptr.py `NamespacePath._mk_fqnp()` handle `__mod__` for methods 2025-03-24 14:04:51 -04:00
types.py Use `.aid.uid` to avoid deprecation warns 2026-03-13 21:10:52 -04:00