Created WeatherForecast container
This commit is contained in:
parent
ed4b511002
commit
ff8f0a98ef
1 changed files with 17 additions and 0 deletions
17
Calendar/WeatherForecast.py
Normal file
17
Calendar/WeatherForecast.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
class WeatherForecast (object):
|
||||
"""Defines a weather forecast, independent of any implementation"""
|
||||
def __init__ (self):
|
||||
self.air_temperature = None
|
||||
self.rain_probability = None
|
||||
self.rain_amount = None
|
||||
self.sunrise = None
|
||||
self.sunset = None
|
||||
self.moon_phase = None
|
||||
self.wind_speed = None
|
||||
|
||||
self.icon = None
|
||||
self.short_description = None
|
||||
|
||||
self.date = None
|
||||
self.place = None
|
||||
self.fetch_time = None
|
Loading…
Reference in a new issue