




"""simple docstring"""
import warnings

from ...utils import logging
from .image_processing_videomae import VideoMAEImageProcessor


a_				:    Dict										=     logging.get_logger(__name__)

class __lowercase(      lowercase__				):




					'''simple docstring'''


					def __init__(    self						,	*__a						,	**__a     ):
								warnings.warn(
								    'The class VideoMAEFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
								    ' Please use VideoMAEImageProcessor instead.'						,	__a						,	)
								super().__init__(*__a						,	**__a     )









"""simple docstring"""
import requests

a_				:    Optional[Any]										=     ''''''  # <-- Put your OpenWeatherMap appid here!
a_				:    str										=     '''https://api.openweathermap.org/data/2.5/'''





def 						UpperCAmelCase				(			A__:    str = "Chicago"							,				A__:    str = APPID     )  ->     dict:
			return requests.get(URL_BASE + 'weather'							,				params=locals()     ).json()





def 						UpperCAmelCase				(			A__:    str = "Kolkata, India"							,				A__:    str = APPID     )  ->     dict:
			return requests.get(URL_BASE + 'forecast'							,				params=locals()     ).json()





def 						UpperCAmelCase				(			A__:    float = 55.68							,				A__:    float = 12.57							,				A__:    str = APPID     )  ->     dict:
			return requests.get(URL_BASE + 'onecall'							,				params=locals()     ).json()


if __name__ == "__main__":
					from pprint import pprint

					while True:
										a_				:    List[Any]										=     input('''Enter a location:''').strip()
										if location:
															pprint(current_weather(location))
										else:
															break



