`'_lytaf_event2string'` Should not be in this list, `__all__` defines the items that are imported from a wildcard import i.e.
```python from sunpy.lightcurve.sources.lyra import *``` and seeing how you have prefixed this with '_' I am presuming you don't want it imported in this case.