<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def disconnect_all_containers(self, action, network_name, containers, **kwargs):
 """ Disconnects all containers from a network. :param action: Action configuration. :type action: dockermap.map.runner.ActionConfig :param network_name: Network name or id. :type network_name: unicode | str :param containers: Container names or ids. :type containers: collections.Iterable[unicode | str] :param kwargs: Additional keyword arguments. :type kwargs: dict """

        client = action.client
        for c_name in containers:
            disconnect_kwargs = self.get_network_disconnect_kwargs(action, network_name, c_name, kwargs=kwargs)
            client.disconnect_container_from_network(**disconnect_kwargs)