def METHOD_NAME(
    cls,
    ds: gm.Dataset,
    vars: list[gm.Variable],
    sources: list[gm.Source],
) -> "GrapherConfig":
    return cls(
        dataset=ds,
        variables=vars,
        sources=sources,
    )