


"""simple docstring"""

import warnings

from ...utils import logging
from .image_processing_dpt import DPTImageProcessor


UpperCAmelCase__					=logging.get_logger(__name__)





class  lowerCamelCase__    (		_a     ):
      def __init__(		self						:						Optional[int]   ,							*A_						:						str   ,							**A_						:						Any				):






       '''simple docstring'''


       warnings.warn(
           """The class DPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
           """ use DPTImageProcessor instead."""   ,							A_   ,							)
       super().__init__(*A_   ,							**A_				)




"""simple docstring"""

def lowerCAmelCase_   (					UpperCamelCase__						:			list					, UpperCamelCase__						:			int					, UpperCamelCase__						:			int = 0					, UpperCamelCase__						:			int = 0			):






 """simple docstring"""







 __lowercase						=						right or len(UpperCamelCase__			) - 1
 if left > right:
  return -1
 elif list_data[left] == key:
  return left
 elif list_data[right] == key:
  return right
 else:
  return search(UpperCamelCase__					, UpperCamelCase__					, left + 1					, right - 1			)


if __name__ == "__main__":
       import doctest

       doctest.testmod()
