


import warnings

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


_UpperCAmelCase			:  Dict     =logging.get_logger(__name__)







class 				snake_case__(							snake_case__							):







						'''simple docstring'''




						def __init__(				self   ,						*__lowercase   ,						**__lowercase							)					->    Optional[Any]:
										warnings.warn(
										    '''The class DPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
										    ''' use DPTImageProcessor instead.'''   ,						lowercase_   ,						)
										super().__init__(*lowercase_   ,						**lowercase_							)



import re



def 			lowerCAmelCase (		lowerCAmelCase_ )-> bool:
				lowerCAmelCase_ :      Tuple    				=				re.compile(r'''^(\+91[\-\s]?)?[0]?(91)?[789]\d{9}$''' )
				if match := re.search(lowerCAmelCase_ ,   lowerCAmelCase_ ):
								return match.string == phone
				return False


if __name__ == "__main__":
						print(indian_phone_validator("""+918827897895"""))