MCPcopy Create free account
hub / github.com/Mrinank-Bhowmick/python-beginner-projects / input

Method input

projects/Skycast/skycast.py:23–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21 )
22
23 def input(self):
24 st.sidebar.title("Weather Options")
25 self.weather_option = st.sidebar.radio(
26 "Choose Weather Option",
27 options=["Today's Weather", "Forecast Weather"],
28 key="weather_option",
29 )
30
31 if self.weather_option == "Today's Weather":
32 self.display_today_weather()
33 else:
34 self.display_forecast_weather()
35
36 def display_today_weather(self):
37 latitude, longitude = None, None

Callers 1

skycast.pyFile · 0.45

Calls 3

display_today_weatherMethod · 0.95
titleMethod · 0.80

Tested by

no test coverage detected