data.feed: dynamically load `ui._search` mod for headless installs
parent
b1cde3df49
commit
50ddef0985
|
@ -59,7 +59,6 @@ from piker.brokers import get_brokermod
|
||||||
from piker.service import (
|
from piker.service import (
|
||||||
maybe_spawn_brokerd,
|
maybe_spawn_brokerd,
|
||||||
)
|
)
|
||||||
from piker.ui import _search
|
|
||||||
from piker.calc import humanize
|
from piker.calc import humanize
|
||||||
from ._util import (
|
from ._util import (
|
||||||
log,
|
log,
|
||||||
|
@ -734,6 +733,7 @@ async def install_brokerd_search(
|
||||||
except trio.EndOfChannel:
|
except trio.EndOfChannel:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
from piker.ui import _search
|
||||||
async with _search.register_symbol_search(
|
async with _search.register_symbol_search(
|
||||||
|
|
||||||
provider_name=brokermod.name,
|
provider_name=brokermod.name,
|
||||||
|
|
Loading…
Reference in New Issue