def update_info(component: Component, **kwargs) -> Component:
    'Return Component with updated info.'
    component.info.update(**kwargs)
    return component
Return Component with updated info.
def update_info(component: Component, **kwargs) -> Component:
    
    component.info.update(**kwargs)
    return component