



import warnings

from ...utils import logging
from .image_processing_poolformer import PoolFormerImageProcessor


_lowerCamelCase    :		List[Any]		      =    logging.get_logger(__name__)


class 						lowercase    (							SCREAMING_SNAKE_CASE_):
						'''simple docstring'''


						def __init__(  self    :				int       ,	*snake_case    :				str       ,	**snake_case    :				List[str]	):



											'''simple docstring'''


											warnings.warn(
											    'The class PoolFormerFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
											    ' Please use PoolFormerImageProcessor instead.'       ,	snake_case       ,	)
											super().__init__(*snake_case       ,	**snake_case	)




import requests

_lowerCamelCase    :		int		      =    """https://newsapi.org/v1/articles?source=bbc-news&sortBy=top&apiKey="""

def        __a			(   __lowerCAmelCase   )     ->     None:
					# fetching a list of articles in json format
					SCREAMING_SNAKE_CASE							:     List[str]						=				requests.get(_NEWS_API + bbc_news_api_key   ).json()
					# each article in the list is a dict
					for i, article in enumerate(bbc_news_page['articles']      ,	1   ):
										print(F'''{i}.) {article['title']}'''   )


if __name__ == "__main__":
			fetch_bbc_news(bbc_news_api_key="""<Your BBC News API key goes here>""")