data.feed: dynamically load `ui._search` mod for headless installs

distribute_dis
Tyler Goodlet 2023-09-28 12:30:10 -04:00
parent b1cde3df49
commit 50ddef0985
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,6 @@ from piker.brokers import get_brokermod
from piker.service import (
maybe_spawn_brokerd,
)
from piker.ui import _search
from piker.calc import humanize
from ._util import (
log,
@ -734,6 +733,7 @@ async def install_brokerd_search(
except trio.EndOfChannel:
return {}
from piker.ui import _search
async with _search.register_symbol_search(
provider_name=brokermod.name,