Assign the values from the dict passed in. All items in the dict
        are assigned as attributes of the object.

        :param dict values: The dictionary of values to assign to this mapping

def from_dict(self, values):
        """Assign the values from the dict passed in. All items in the dict
        are assigned as attributes of the object.

        :param dict values: The dictionary of values to assign to this mapping

        """
        for k in values.keys():
            setattr(self, k, values[k])