bluesky.plans.inject_md_wrapper¶
-
bluesky.plans.
inject_md_wrapper
(plan, md)¶ Inject additional metadata into a run.
This takes precedences over the original metadata dict in the event of overlapping keys, but it does not mutate the original metadata dict. (It uses ChainMap.)
Parameters: - plan (iterable or iterator) – a generator, list, or similar containing Msg objects
- md (dict) – metadata