Expose `.open_feed()` and `open_piker_runtime()` eps at top level

daemon_sockaddr_config
Tyler Goodlet 2022-11-07 15:38:54 -05:00
parent 5a2795e76b
commit 8be005212f
2 changed files with 8 additions and 1 deletions

View File

@ -18,3 +18,10 @@
piker: trading gear for hackers.
"""
from ._daemon import open_piker_runtime
from .data.feed import open_feed
__all__ = [
'open_piker_runtime',
'open_feed',
]

View File

@ -199,7 +199,7 @@ async def open_piker_runtime(
# for data daemons when running in production.
debug_mode: bool = False,
) -> Optional[tractor._portal.Portal]:
) -> tractor.Actor:
'''
Start a piker actor who's runtime will automatically sync with
existing piker actors on the local link based on configuration.