From 0607a31dddeba032a2cf7d9fe605edd9d7bb4846 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 3bfda13..f803215 100644 --- a/tractor/__init__.py +++ b/tractor/__init__.py @@ -43,6 +43,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, @@ -65,3 +66,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