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