ophyd.v2.core.merge_gathered_dicts#

async ophyd.v2.core.merge_gathered_dicts(coros: Iterable[Awaitable[Dict[str, T]]]) Dict[str, T]#

Merge dictionaries produced by a sequence of coroutines.

Can be used for merging read() or describe. For instance:

combined_read = await merge_gathered_dicts(s.read() for s in signals)