MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / update_weather

Function update_weather

DemoPrograms/Demo_Desktop_Widget_Weather.py:123–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122
123def update_weather():
124 if APP_DATA['City']:
125 request_weather_data(create_endpoint(2))
126 elif APP_DATA['Postal']:
127 request_weather_data(create_endpoint(1))
128
129
130def create_endpoint(endpoint_type=0):

Callers 1

mainFunction · 0.85

Calls 2

request_weather_dataFunction · 0.85
create_endpointFunction · 0.85

Tested by

no test coverage detected