import abc
from typing import Generator, List

from genomics_data_index.storage.io.SampleData import SampleData


class SampleFilesProcessor(abc.ABC):

    def __init__(self):
        pass

    @abc.abstractmethod
    def process(self, sample_data: List[SampleData]) -> Generator[SampleData, None, None]:
        pass

import abc
from typing import Generator, List

from genomics_data_index.storage.io.SampleData import SampleData


class SampleFilesProcessor(abc.ABC):

    def __init__(self):
        pass

    @abc.abstractmethod
    def process(self, sample_data: List[SampleData]) -> Generator[SampleData, None, None]:
        pass
