bluesky.utils.Msg#
- class bluesky.utils.Msg(command, obj=None, *args, run=None, **kwargs)[source]#
Namedtuple sub-class to encapsulate a message from the plan to the RE.
This class provides 3 key features:
dot access to the contents
default values and a variadic signature for args / kwargs
a nice repr
- __init__(*args, **kwargs)#
Methods
__init__
(*args, **kwargs)count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
args
Alias for field number 2
command
Alias for field number 0
kwargs
Alias for field number 3
obj
Alias for field number 1
run
Alias for field number 4