def METHOD_NAME(cls, h5py_group: h5py.Group) -> QCTopology:
    data = dict(h5py_group.attrs.items())
    for key, value in h5py_group.items():
        data[key] = value
    if "provenance" in h5py_group.keys():
        data["provenance"] = cast(
            QCProvenance, QCProvenance.from_hdf5(h5py_group["provenance"])
        )
    return cls(**data)