`ib`: break up data vs. broker enabled modules

rekt_pps
Tyler Goodlet 2023-03-27 12:19:09 -04:00
parent 2c23bc166b
commit 978c59f5f0
1 changed files with 13 additions and 5 deletions

View File

@ -35,7 +35,6 @@ from .feed import (
)
from .broker import (
trades_dialogue,
norm_trade_records,
)
__all__ = [
@ -46,14 +45,23 @@ __all__ = [
'stream_quotes',
]
# tractor RPC enable arg
__enable_modules__: list[str] = [
_brokerd_mods: list[str] = [
'api',
'feed',
'broker',
]
_datad_mods: list[str] = [
'feed',
]
# tractor RPC enable arg
__enable_modules__: list[str] = (
_brokerd_mods
+
_datad_mods
)
# passed to ``tractor.ActorNursery.start_actor()``
_spawn_kwargs = {
'infect_asyncio': True,