From 4aa04e1c8e85596e3b67b5a2f846a59e1346d71e Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 11 Aug 2023 14:52:10 -0400 Subject: [PATCH] Add note about broadcast when no `.symbol` found --- piker/clearing/_ems.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/piker/clearing/_ems.py b/piker/clearing/_ems.py index 2cb3f9d3..501e0dd8 100644 --- a/piker/clearing/_ems.py +++ b/piker/clearing/_ems.py @@ -949,7 +949,10 @@ async def translate_and_relay_brokerd_events( fqme: str = ( bdmsg.symbol # might be None or - bdmsg.broker_details['flow']['symbol'] + bdmsg.broker_details['flow'] + # NOTE: what happens in empty case in the + # broadcast below? it's a problem? + .get('symbol', '') ) await router.client_broadcast(