def METHOD_NAME(engine: Engine, all: bool) -> set[str]:
    """Load all active datasets from grapher and return dataset names of their config
    and value files."""
    active_datasets_df = _active_datasets(engine, all=all)
    names = set(active_datasets_df.apply(lambda r: utils.create_short_name(r["id"], r["name"]), axis=1))
    return {n + "_config" for n in names} | {n + "_values" for n in names}