def load_from_object(self, object_name):
        """
        load all upper parameters of object as config parameters
        :param object_name: the object you wanna load
        :return:
        """
        for key in dir(object_name):
            if key.isupper():
                self[key] = getattr(object_name, key)
load all upper parameters of object as config parameters
        :param object_name: the object you wanna load
        :return: