def update(self): """Get the latest data.""" shd = SwissHydroData() self.data = shd.get_station(self.station)
def update(self): """Get the latest data.""" from swisshydrodata import SwissHydroData shd = SwissHydroData() self.data = shd.get_station(self.station)