

import warnings

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


lowerCAmelCase_			      =      logging.get_logger(__name__)





class       snake_case_  (						__A   ):







			'''simple docstring'''

			def __init__(	self					:							int				,  *_UpperCamelCase					:							str				,  **_UpperCamelCase					:							List[str]				) ->None:
									warnings.warn(
									    '''The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
									    ''' use DonutImageProcessor instead.'''				,  _UpperCamelCase				,  )
									super().__init__(*_UpperCamelCase				,  **_UpperCamelCase				)



"""simple docstring"""
# limitations under the License.

# NOTE: This file is deprecated and will be removed in a future version.
# It only exists so that temporarely `from diffusers.pipelines import DiffusionPipeline` works

from .pipelines import DiffusionPipeline, ImagePipelineOutput  # noqa: F401
from .utils import deprecate


deprecate(
    """pipelines_utils""",
    """0.22.0""",
    """Importing `DiffusionPipeline` or `ImagePipelineOutput` from diffusers.pipeline_utils is deprecated. Please import from diffusers.pipelines.pipeline_utils instead.""",
    standard_warn=False,
    stacklevel=3,
)

