docs: def get_container_stop_kwargs(self, action, container_name, kwargs=None):
          """
          Generates keyword arguments for the Docker client to stop a container.
  
          :param action: Action configuration.
          :type action: ActionConfig
          :param container_name: Container name or id.
          :type container_name: unicode | str
          :param kwargs: Additional keyword arguments to complement or override the configuration-based values.
          :type kwargs: dict
          :return: Resulting keyword arguments.
          :rtype: dict
          """
          c_kwargs = dict(
              container=container_name,
          )
          stop_timeout = action.config.stop_timeout
          if stop_timeout is NotSet:
              timeout = action.client_config.get('stop_timeout')
              if timeout is not None:
                  c_kwargs['timeout'] = timeout
          elif stop_timeout is not None:
              c_kwargs['timeout'] = stop_timeout
          update_kwargs(c_kwargs, kwargs)
          return c_kwargs