Return the dictionary with which to write values

def write_values(self):
        """ Return the dictionary with which to write values """
        return dict(((k, v.value) for k, v in self._inputs.items() if not v.is_secret and not v.is_empty(False)))