"""simple docstring"""



from abc import ABC, abstractmethod
from typing import Optional, Union

from .. import Dataset, DatasetDict, Features, IterableDataset, IterableDatasetDict, NamedSplit
from ..utils.typing import NestedDataStructureLike, PathLike






class  snake_case__      (       snake_case_       ):


 def __init__( self    ,		lowerCamelCase = None    ,		lowerCamelCase = None    ,		lowerCamelCase = None    ,		lowerCamelCase = None    ,		lowerCamelCase = False    ,		lowerCamelCase = False    ,		lowerCamelCase = None    ,		**lowerCamelCase    ,		):
        __a       =    path_or_paths
        __a       =    split if split or isinstance(lowerCamelCase    ,		lowerCamelCase						) else "train"
        __a       =    features
        __a       =    cache_dir
        __a       =    keep_in_memory
        __a       =    streaming
        __a       =    num_proc
        __a       =    kwargs






 @abstractmethod
 def 						a__   ( self						):
        pass






class  snake_case__      (       snake_case_       ):


 def __init__( self    ,		lowerCamelCase = None    ,		lowerCamelCase = None    ,		lowerCamelCase = False    ,		lowerCamelCase = False    ,		lowerCamelCase = None    ,		**lowerCamelCase    ,		):
        __a       =    features
        __a       =    cache_dir
        __a       =    keep_in_memory
        __a       =    streaming
        __a       =    num_proc
        __a       =    kwargs






 @abstractmethod
 def 						a__   ( self						):
        pass

"""simple docstring"""



import warnings

from ...utils import logging
from .image_processing_donut import DonutImageProcessor


SCREAMING_SNAKE_CASE__:Dict									=			logging.get_logger(__name__)






class  snake_case__      (       snake_case_       ):


 def __init__( self    ,		*lowerCamelCase    ,		**lowerCamelCase						):
        warnings.warn(
            "The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
            " use DonutImageProcessor instead."    ,		lowerCamelCase    ,		)
        super().__init__(*lowerCamelCase    ,		**lowerCamelCase						)
