From a98f5877bc9c7765cac33b3d3b8f3c2d7ef9de01 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 28 Sep 2023 12:31:24 -0400 Subject: [PATCH] ui._exec: use new `get_runtime_vars()` name --- piker/ui/_exec.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/piker/ui/_exec.py b/piker/ui/_exec.py index 19663cac..5b0655da 100644 --- a/piker/ui/_exec.py +++ b/piker/ui/_exec.py @@ -51,13 +51,17 @@ from outcome import Error from ..service import ( maybe_open_pikerd, - get_tractor_runtime_kwargs, + get_runtime_vars, ) from ..log import get_logger from ._pg_overrides import _do_overrides from . import _style +if TYPE_CHECKING: + from ._chart import GodWidget + + log = get_logger(__name__) # pyqtgraph global config @@ -173,7 +177,9 @@ def run_qtractor( instance.window = window # override tractor's defaults - tractor_kwargs.update(get_tractor_runtime_kwargs()) + tractor_kwargs.update( + get_runtime_vars() + ) # define tractor entrypoint async def main():