def set_by_dict(
            self, 
            **kwargs: Any
        ) -> None:
        """
        Set an individual's data or metadata using values in a dictionary.

        Parameters
        ----------
        kwargs : Any
            Keyword arguments defining the data to set.
        """
        for k, v in kwargs.items():
            self.set(k, v)

        Set an individual's data or metadata using values in a dictionary.

        Parameters
        ----------
        kwargs : Any
            Keyword arguments defining the data to set.
        
pymoo/core/individual.py