forked from goodboy/tractor
1
0
Fork 0

Expose `Context` at top level

propagate_loglevel
Tyler Goodlet 2019-03-15 19:40:34 -04:00
parent 29ffbfe6ca
commit de8d69c58b
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import trio # type: ignore
from trio import MultiError from trio import MultiError
from .log import get_console_log, get_logger, get_loglevel 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 ( from ._actor import (
Actor, _start_actor, Arbiter, get_arbiter, find_actor, wait_for_actor Actor, _start_actor, Arbiter, get_arbiter, find_actor, wait_for_actor
) )
@ -29,6 +29,7 @@ __all__ = [
'open_nursery', 'open_nursery',
'wait_for_actor', 'wait_for_actor',
'Channel', 'Channel',
'Context',
'MultiError', 'MultiError',
'RemoteActorError', 'RemoteActorError',
'ModuleNotExposed', 'ModuleNotExposed',