How to concat a LOT of EDF files with annotations?

I have a ton of raw EEG EDF files loaded in MNE along with annotations specific to each file (Several thousand at a time).

Any suggestions on how can I combine these EDF files and still retain the annotations? A couple of methods I tried so far seem to drop the annotations.

can you clarify your usecase?

what did you try?

mne.concatenate_raws drops annotations? if so it’s a bug

Alex