From de8d69c58b6c198f010f4175c699db423175670a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 15 Mar 2019 19:40:34 -0400 Subject: [PATCH] Expose `Context` at top level --- tractor/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tractor/__init__.py b/tractor/__init__.py index 5be1d5d..5872abf 100644 --- a/tractor/__init__.py +++ b/tractor/__init__.py @@ -11,7 +11,7 @@ import trio # type: ignore from trio import MultiError from .log import get_console_log, get_logger, get_loglevel -from ._ipc import _connect_chan, Channel +from ._ipc import _connect_chan, Channel, Context from ._actor import ( Actor, _start_actor, Arbiter, get_arbiter, find_actor, wait_for_actor ) @@ -29,6 +29,7 @@ __all__ = [ 'open_nursery', 'wait_for_actor', 'Channel', + 'Context', 'MultiError', 'RemoteActorError', 'ModuleNotExposed',