qcodes/loops.py
def snapshot_base(self, update: Optional[bool] = False,
                      params_to_skip_update: Optional[Sequence[str]] = None):
        """
        State of the loop as a JSON-compatible dict (everything that
        the custom JSON encoder class :class:'qcodes.utils.helpers.NumpyJSONEncoder'
        supports).

        Args:
            update: If True, update the state by querying the underlying
                sweep_values and actions. If None only update state if known
                to be invalid. If False, just use the latest values
                in memory.
            params_to_skip_update: Unused in this implementation.

        Returns:
            dict: base snapshot
        """
        return {
            '__class__': full_class(self),
            'sweep_values': self.sweep_values.snapshot(update=update),
            'delay': self.delay,
            'then_actions': _actions_snapshot(self.then_actions, update)
        }

        State of the loop as a JSON-compatible dict (everything that
        the custom JSON encoder class :class:'qcodes.utils.helpers.NumpyJSONEncoder'
        supports).

        Args:
            update: If True, update the state by querying the underlying
                sweep_values and actions. If None only update state if known
                to be invalid. If False, just use the latest values
                in memory.
            params_to_skip_update: Unused in this implementation.

        Returns:
            dict: base snapshot
        
State of the loop as a JSON-compatible dict (everything that
the custom JSON encoder class :class:'qcodes.utils.helpers.NumpyJSONEncoder'
supports).
State of the loop as a JSON - compatible dict ( everything that the custom JSON encoder class : class : ' qcodes . utils . helpers . NumpyJSONEncoder ' supports ) .
def snapshot_base(self, update: Optional[bool] = False,
                      params_to_skip_update: Optional[Sequence[str]] = None):
        return {
            '__class__': full_class(self),
            'sweep_values': self.sweep_values.snapshot(update=update),
            'delay': self.delay,
            'then_actions': _actions_snapshot(self.then_actions, update)
        }
def snapshot_base ( self , update : Optional [ bool ] = False , params_to_skip_update : Optional [ Sequence [ str ] ] = None ) : return { '__class__' : full_class ( self ) , 'sweep_values' : self . sweep_values . snapshot ( update = update ) , 'delay' : self . delay , 'then_actions' : _actions_snapshot ( self . then_actions , update ) }
State of the loop as a JSON-compatible dict (everything that
the custom JSON encoder class :class:'qcodes.utils.helpers.NumpyJSONEncoder'
supports).
State of the loop as a JSON - compatible dict ( everything that the custom JSON encoder class : class : ' qcodes . utils . helpers . NumpyJSONEncoder ' supports ) .
"""
        State of the loop as a JSON-compatible dict (everything that
        the custom JSON encoder class :class:'qcodes.utils.helpers.NumpyJSONEncoder'
        supports).

        Args:
            update: If True, update the state by querying the underlying
                sweep_values and actions. If None only update state if known
                to be invalid. If False, just use the latest values
                in memory.
            params_to_skip_update: Unused in this implementation.

        Returns:
            dict: base snapshot
        """
None
dict
self
update
Optional[bool]
If True, update the state by querying the underlying
sweep_values and actions. If None only update state if known
to be invalid. If False, just use the latest values
in memory.
If True update the state by querying the underlying sweep_values and actions . If None only update state if known to be invalid . If False just use the latest values in memory .
params_to_skip_update
Optional[Sequence[str]]
Unused in this implementation.
Unused in this implementation .