@classmethod
def set_global(cls, name, value):
    """ Set value for a global attribute

        :param name: Name of the attribute
        :type name: str
        :param name: Value of the attribute
        :type name: str
        """
    global_attr = cls._attributes[name]
    global_attr.value = value
    return value
