Skip to content

Commit

Permalink
Fixed missing function import
Browse files Browse the repository at this point in the history
  • Loading branch information
jooste committed Aug 30, 2024
1 parent 4e57deb commit 273fb48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bluesky/network/publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from bluesky.core.walltime import Timer
from bluesky.network.common import ActionType
from bluesky.network.subscriber import subscriber
from bluesky.network.sharedstate import _recursive_update
import bluesky.network.context as ctx


Expand Down Expand Up @@ -57,7 +58,7 @@ def collect(cls, topic: str, payload: list, to_group: str=''):
payload[1] = {k:[v] for k, v in payload[1].items()}
store.extend(payload)
elif payload[0] == ActionType.Update.value:
recursive_update(store[1], payload[1])
_recursive_update(store[1], payload[1])
elif payload[0] == ActionType.Append.value:
for key, item in payload[1].items():
store[1][key].append(item)
Expand Down

0 comments on commit 273fb48

Please sign in to comment.