From 50ddef09851d0bf6e8a538b2345bb5761df5d965 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 28 Sep 2023 12:30:10 -0400 Subject: [PATCH] data.feed: dynamically load `ui._search` mod for headless installs --- piker/data/feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/data/feed.py b/piker/data/feed.py index 7691538c..c6a56e15 100644 --- a/piker/data/feed.py +++ b/piker/data/feed.py @@ -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,