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:

  1. dot access to the contents

  2. default values and a variadic signature for args / kwargs

  3. a nice repr

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(*args, **kwargs)

Initialize self.

count(value)

index(value, [start, [stop]])

Raises ValueError if the value is not present.

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