def METHOD_NAME(
    cls,
    seq: Iterable[KotlincPluginTargetsForTarget],
    resolve: CoursierResolveKey,
) -> KotlincPluginsRequest:
    plugins: set[Target] = set()
    artifacts: set[Target] = set()
    for spft in seq:
        plugins.update(spft.plugins)
        artifacts.update(spft.artifacts)
    return KotlincPluginsRequest(Targets(plugins), Targets(artifacts), resolve)