From 829dfa75201c12148cc0a137fef3eed4480fc17f Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 14 Apr 2024 19:41:29 -0400 Subject: [PATCH] Add defaul rtv for `use_greeback: bool = False` --- tractor/_state.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tractor/_state.py b/tractor/_state.py index 9e4e947..b76e8ac 100644 --- a/tractor/_state.py +++ b/tractor/_state.py @@ -30,11 +30,16 @@ if TYPE_CHECKING: _current_actor: Actor|None = None # type: ignore # noqa _last_actor_terminated: Actor|None = None + +# TODO: mk this a `msgspec.Struct`! _runtime_vars: dict[str, Any] = { '_debug_mode': False, '_is_root': False, '_root_mailbox': (None, None), '_registry_addrs': [], + + # for `breakpoint()` support + 'use_greenback': False, }