def METHOD_NAME(self, all_nbrs: list, cif_id: int) -> tuple[np.ndarray, ...]:
    nbr_fea_idx, nbr_fea = [], []
    for nbr in all_nbrs:
        if len(nbr) < self.max_num_nbr:
            warnings.warn(
                f"{cif_id} not find enough neighbors to build graph. "
                "If it happens frequently, consider increase "
                "radius."
            )
            nbr_fea_idx.append([x[2] for x in nbr] + [0] * (self.max_num_nbr - len(nbr)))
            nbr_fea.append([x[1] for x in nbr] + [self.radius + 1.0] * (self.max_num_nbr - len(nbr)))
        else:
            nbr_fea_idx.append([x[2] for x in nbr[: self.max_num_nbr]])
            nbr_fea.append([x[1] for x in nbr[: self.max_num_nbr]])
    nbr_fea_idx, nbr_fea = np.array(nbr_fea_idx), np.array(nbr_fea)  # type: ignore
    nbr_fea = self.gdf.expand(nbr_fea)
    return (nbr_fea_idx, nbr_fea)  # type: ignore