From 29034315401fbbba90e6dae1a5707a1d2f939ff8 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 3 Mar 2025 11:14:32 -0500 Subject: [PATCH] Expose `._state.debug_mode()` predicate at top level --- tractor/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tractor/__init__.py b/tractor/__init__.py index a27a3b59..6ddbf199 100644 --- a/tractor/__init__.py +++ b/tractor/__init__.py @@ -44,6 +44,7 @@ from ._state import ( current_actor as current_actor, is_root_process as is_root_process, current_ipc_ctx as current_ipc_ctx, + debug_mode as debug_mode ) from ._exceptions import ( ContextCancelled as ContextCancelled, @@ -66,3 +67,4 @@ from ._root import ( from ._ipc import Channel as Channel from ._portal import Portal as Portal from ._runtime import Actor as Actor +from . import hilevel as hilevel