code: def unparse_flags(self):
      
      for f in self._flags().values():
        f.unparse()
      # We log this message before marking flags as unparsed to avoid a
      # problem when the logging library causes flags access.
      logging.info('unparse_flags() called; flags access will now raise errors.')
      self.__dict__['__flags_parsed'] = False
      self.__dict__['__unparse_flags_called'] = True
docs: Unparses all flags to the point before any FLAGS(argv) was called.