
"""simple docstring"""



import warnings

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


UpperCAmelCase__          = logging.get_logger(__name__)

class       lowerCAmelCase__				(						lowerCamelCase__	):







     def __init__(							self			:			Union[str, Any]    ,      *_lowerCamelCase			:			List[Any]    ,      **_lowerCamelCase			:			Dict			):
       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'''




def 				lowerCAmelCase_   (	_lowerCamelCase:   int					):
		assert (
		    isinstance(_lowerCamelCase       ,      _lowerCamelCase					) and number_of_steps > 0
		), F"number_of_steps needs to be positive integer, your input {number_of_steps}"
		if number_of_steps == 1:
				return 1
		__SCREAMING_SNAKE_CASE       ,						__SCREAMING_SNAKE_CASE       :		Dict           =		1, 1
		for _ in range(number_of_steps - 1					):
				__SCREAMING_SNAKE_CASE       ,						__SCREAMING_SNAKE_CASE       :		Tuple           =		current + previous, current
		return current


if __name__ == "__main__":
						import doctest

						doctest.testmod()