def METHOD_NAME(components: Iterable[Union[E3dcBat, E3dcCounter, E3dcInverter,
                                                 E3dcExternalInverter]]) -> None:
    with client as c:
        for component in components:
            with SingleComponentUpdateContext(component.component_info):
                component.update(c)