@validate_arguments
def add_settings_label(component: Component, layer_label: Layer=(66, 0), settings: Optional[Strs]=None) -> Component:
    'Add a settings label to a component.\n\n    Args:\n        component:\n        layer_label:\n        settings: tuple or list of settings. if None, adds all changed settings\n\n    '
    d = ({setting: component.get_setting(setting) for setting in settings} if settings else component.info.changed)
    component.add_label(text=OmegaConf.to_yaml(d), layer=layer_label)
    return component
Add a settings label to a component.

Args:
    component:
    layer_label:
    settings: tuple or list of settings. if None, adds all changed settings
@validate_arguments
def add_settings_label(component: Component, layer_label: Layer=(66, 0), settings: Optional[Strs]=None) -> Component:
    'Add a settings label to a component.\n\n    Args:\n        component:\n        layer_label:\n        settings: tuple or list of settings. if None, adds all changed settings\n\n    '
    d = ({setting: component.get_setting(setting) for setting in settings} if settings else component.info.changed)
    component.add_label(text=OmegaConf.to_yaml(d), layer=layer_label)
    return component