code: def latch_config_variables(self):
          
  
          return {desc.name: desc.latch() for desc in self._config_variables.values()}
docs: Latch the current value of all config variables as python objects.
  
          This function will capture the current value of all config variables
          at the time that this method is called.  It must be called after
          start() has been called so that any default values in the config
          variables have been properly set otherwise DataError will be thrown.
  
          Conceptually this method performs the operation that happens just
          before a tile executive hands control to the tile application
          firmware. It latches in the value of all config variables at that
          point in time.
  
          For convenience, this method does all necessary binary -> python
          native object conversion so that you just get python objects back.
  
          Returns:
              dict: A dict of str -> object with the config variable values.
  
              The keys in the dict will be the name passed to
              `declare_config_variable`.
  
              The values will be the python objects that result from calling
              latch() on each config variable.  Consult ConfigDescriptor.latch()
              for documentation on how that method works.