Update `msgpub` import from `tractor.experimental`

dark_vlm
Tyler Goodlet 2022-01-30 12:46:54 -05:00
parent 296863348d
commit bb8fade16f
1 changed files with 2 additions and 1 deletions

View File

@ -38,6 +38,7 @@ import contextlib
import trio
import tractor
from tractor.experimental import msgpub
from async_generator import asynccontextmanager
from ..log import get_logger, get_console_log
@ -98,7 +99,7 @@ class BrokerFeed:
)
@tractor.trionics.msgpub(tasks=['stock', 'option'])
@msgpub(tasks=['stock', 'option'])
async def stream_poll_requests(
get_topics: Callable,
get_quotes: Coroutine,