



'''simple docstring'''




import warnings

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


UpperCamelCase__       :	Dict    = logging.get_logger(__name__)






class 						_UpperCamelCase  (							lowerCamelCase__    ):


			'''simple docstring'''

			def __init__(							self     : Union[str, Any]							,     *lowerCAmelCase__     : List[Any]							,     **lowerCAmelCase__     : Dict						):





					"""simple docstring"""






					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__						)




'''simple docstring'''




import warnings

from diffusers import StableDiffusionInpaintPipeline as StableDiffusionInpaintPipeline  # noqa F401


warnings.warn(
    '''The `inpainting.py` script is outdated. Please use directly `from diffusers import'''
    ''' StableDiffusionInpaintPipeline` instead.'''
)