@classmethod
def from_dict(cls, d):
    """Create a :class:`Data` object from a :class:`dict` object ``d``.

        :param dict d: The data dictionary.
        :return: The Data object wrapping the data dictionary.
        :rtype: Data
        """
    d = d or {}
    return cls(**d)
