ophyd_async.core.merge_gathered_dicts#

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

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)