Export `Flume` and `Feed` from `piker.data`
parent
49e67d5f36
commit
cdf9105d0d
|
@ -35,11 +35,15 @@ from ._source import (
|
|||
def_ohlcv_fields,
|
||||
)
|
||||
from .feed import (
|
||||
Feed,
|
||||
open_feed,
|
||||
)
|
||||
from .flows import Flume
|
||||
|
||||
|
||||
__all__ = [
|
||||
'Flume',
|
||||
'Feed',
|
||||
'open_feed',
|
||||
'ShmArray',
|
||||
'iterticks',
|
||||
|
|
|
@ -642,9 +642,12 @@ class Feed(Struct):
|
|||
'''
|
||||
mods: dict[str, ModuleType] = {}
|
||||
portals: dict[ModuleType, tractor.Portal] = {}
|
||||
flumes: dict[str, Flume] = {}
|
||||
flumes: dict[
|
||||
str, # FQME
|
||||
Flume,
|
||||
] = {}
|
||||
streams: dict[
|
||||
str,
|
||||
str, # broker name
|
||||
trio.abc.ReceiveChannel[dict[str, Any]],
|
||||
] = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue