Updates this configuration object from a dictionary.

        See :meth:`ConfigurationObject.update` for details.

        :param dct: Values to update the ConfigurationObject with.
        :type dct: dict

def update_from_dict(self, dct):
        """
        Updates this configuration object from a dictionary.

        See :meth:`ConfigurationObject.update` for details.

        :param dct: Values to update the ConfigurationObject with.
        :type dct: dict
        """
        if not dct:
            return
        all_props = self.__class__.CONFIG_PROPERTIES
        for key, value in six.iteritems(dct):
            attr_config = all_props.get(key)
            if attr_config:
                setattr(self, key, value)
            else:
                self.update_default_from_dict(key, value)