Update type annotation to use a Protocol instead of abstract base class DataSource. This is required to allow using wrappers that contain rather than subclass seqio.DataSource.
Update type annotation to use a Protocol instead of abstract base class DataSource.
This is required to allow using wrappers that contain rather than subclass seqio.DataSource.

PiperOrigin-RevId: 417841584

google/seqio