'''simple docstring'''


import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


__lowerCAmelCase	:       Any						       =	logging.get_logger(__name__)






class 						A   (   UpperCAmelCase__   ):





							def __init__(      self				:							Dict     ,		*__a				:							Union[str, Any]     ,		**__a				:							Union[str, Any]	)							->	None:
								warnings.warn(
								    '''The class LayoutLMv2FeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
								    ''' Please use LayoutLMv2ImageProcessor instead.'''     ,		__lowerCAmelCase     ,		)
								super().__init__(*__lowerCAmelCase     ,		**__lowerCAmelCase	)






'''simple docstring'''


import requests
from bsa import BeautifulSoup





def       lowerCAmelCase					(		UpperCamelCase__				:   str = "AAPL"       ):


	"""simple docstring"""
	__UpperCAmelCase							=			f"""https://in.finance.yahoo.com/quote/{symbol}?s={symbol}"""
	__UpperCAmelCase							=			BeautifulSoup(requests.get(UpperCamelCase__       ).text    ,					'''html.parser'''       )
	__UpperCAmelCase							=			'''My(6px) Pos(r) smartphone_Mt(6px)'''
	return soup.find('''div'''    ,					class_=class_       ).find('''span'''       ).text


if __name__ == "__main__":
					for symbol in "AAPL AMZN IBM GOOG MSFT ORCL".split():
										print(F"""Current {symbol:<4} stock price is {stock_price(symbol):>8}""")
