From 22c14e235e3390674796dfc3c462863395d2bfda Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 18 Aug 2023 10:18:25 -0400 Subject: [PATCH] Expose `Channel` @ pkg level, drop `_debug.pp()` alias --- tractor/__init__.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tractor/__init__.py b/tractor/__init__.py index 8781943..c653ec0 100644 --- a/tractor/__init__.py +++ b/tractor/__init__.py @@ -21,7 +21,6 @@ tractor: structured concurrent ``trio``-"actors". from exceptiongroup import BaseExceptionGroup from ._clustering import open_actor_cluster -from ._ipc import Channel from ._context import ( Context, context, @@ -49,7 +48,6 @@ from ._exceptions import ( from ._debug import ( breakpoint, pause, - pp, pause_from_sync, post_mortem, ) @@ -58,6 +56,7 @@ from ._root import ( run_daemon, open_root_actor, ) +from ._ipc import Channel from ._portal import Portal from ._runtime import Actor @@ -76,6 +75,7 @@ __all__ = [ 'context', 'current_actor', 'find_actor', + 'query_actor', 'get_arbiter', 'is_root_process', 'msg', @@ -84,8 +84,7 @@ __all__ = [ 'open_root_actor', 'pause', 'post_mortem', - 'pp', - 'pause_from_sync' + 'pause_from_sync', 'query_actor', 'run_daemon', 'stream',