bluesky.plans.run_context¶
-
bluesky.plans.
run_context
(plan_stack, *, md=None)¶ Enclose in ‘open_run’ and ‘close_run’ messages.
Parameters: - plan_stack (list-like) – appendable collection of generators that yield messages (Msg objects)
- md (dict, optional) – metadata to be passed into the ‘open_run’ message