@classmethod
def _get_config_kw(cls, configurable):
    """Get the config objects set up for this configurable into a dict.

        This dict can then be passed as keyword parameters (using ``**``)
        into the relevant methods such as :meth:`Action.perform`.

        :param configurable: the configurable object to get the config
          dict for.
        :return: a dict of config values.
        """
    result = {}
    config = configurable.config
    group_class = cls.group_class
    if group_class is None:
        group_class = cls
    if group_class.app_class_arg:
        result['app_class'] = configurable.app_class
    for name, factory in group_class.config.items():
        result[name] = getattr(config, name)
    return result
