1
0
Fork 0
tractor/tractor
Tyler Goodlet 51bd38976f Expose per-actor registry addrs via `.reg_addrs`
Since it's handy to be able to debug the *writing* of this instance var
(particularly when checking state passed down to a child in
`Actor._from_parent()`), rename and wrap the underlying
`Actor._reg_addrs` as a settable `@property` and add validation to
the `.setter` for sanity - actor discovery is a critical functionality.

Other tweaks:
- fix `.cancel_soon()` to pass expected argument..
- update internal runtime error message to be simpler and link to GH issues.
- use new `Actor.reg_addrs` throughout core.
2025-03-20 19:50:31 -04:00
..
_testing Add (back) a `tractor._testing` sub-pkg 2025-03-16 15:28:28 -04:00
devx Woops, fix `_post_mortem()` type sig.. 2025-03-20 15:07:27 -04:00
experimental Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
msg Make `NamespacePath` kinda support methods.. 2025-03-15 00:05:31 -04:00
trionics Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
__init__.py Kick off `.devx` subpkg for our dev tools B) 2025-03-20 15:07:27 -04:00
_child.py ._child: remove some unused imports.. 2025-03-14 13:56:25 -04:00
_clustering.py Passthrough runtime kwargs from `open_actor_cluster()` 2022-12-11 19:56:08 -05:00
_context.py Re-revert back to `.devx` subpkg after rebase.. 2025-03-20 15:07:27 -04:00
_discovery.py Always dynamically re-read the `._root._default_lo_addrs` value in `find_actor()` 2025-03-20 19:50:31 -04:00
_entry.py Init-support for "multi homed" transports 2025-03-20 19:50:31 -04:00
_exceptions.py Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_ipc.py Init-support for "multi homed" transports 2025-03-20 19:50:31 -04:00
_mp_fixup_main.py Avoid importing mp for as long as possible 2022-02-17 11:55:26 -05:00
_multiaddr.py Rename to `parse_maddr()` and fill out doc strings 2025-03-20 19:50:31 -04:00
_portal.py Init-support for "multi homed" transports 2025-03-20 19:50:31 -04:00
_root.py Ensure `registry_addrs` is always set to something 2025-03-20 19:50:31 -04:00
_rpc.py Re-revert back to `.devx` subpkg after rebase.. 2025-03-20 15:07:27 -04:00
_runtime.py Expose per-actor registry addrs via `.reg_addrs` 2025-03-20 19:50:31 -04:00
_spawn.py Rename fixture `arb_addr` -> `reg_addr` and set the session value globally as `._root._default_lo_addrs` 2025-03-20 19:50:31 -04:00
_state.py Support a `._state.last_actor()` getter 2025-03-16 14:01:50 -04:00
_streaming.py Absorb EoCs via `Context.open_stream()` silently 2025-03-16 16:06:26 -04:00
_supervise.py Init-support for "multi homed" transports 2025-03-20 19:50:31 -04:00
log.py .log: more multi-line styling 2025-03-14 16:41:08 -04:00
to_asyncio.py Move `.to_asyncio` to modern optional value type annots 2025-03-20 15:07:27 -04:00