forked from goodboy/tractor
1
0
Fork 0

Expose `@context` decorator at top level

transport_hardening
Tyler Goodlet 2021-05-02 14:12:35 -04:00
parent 2870828c34
commit cdafdde092
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ tractor: An actor model micro-framework built on
from trio import MultiError from trio import MultiError
from ._ipc import Channel from ._ipc import Channel
from ._streaming import Context, stream from ._streaming import Context, stream, context
from ._discovery import get_arbiter, find_actor, wait_for_actor from ._discovery import get_arbiter, find_actor, wait_for_actor
from ._trionics import open_nursery from ._trionics import open_nursery
from ._state import current_actor, is_root_process from ._state import current_actor, is_root_process
@ -33,7 +33,7 @@ __all__ = [
'run', 'run',
'run_daemon', 'run_daemon',
'stream', 'stream',
'wait_for_actor', 'context',
'to_asyncio', 'to_asyncio',
'wait_for_actor', 'wait_for_actor',
] ]