models.sequencer module¶
-
class
models.sequencer.
Sequencer
(mongodb_sequencer=None, vmware_sequencer=None)[source]¶ Bases:
object
Implementation of the ‘Sequencer’ model.
Sequencer used to identify pieces of data sent to Atom. It is expected that different enviroment protos will be added to this to define their own sequencers like one is added for VMware below.
- Attributes:
mongodb_sequencer (SequenceNumber): TODO: Type description here. vmware_sequencer (SequenceNumber): TODO: Type description here.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.