Units¶
-
class
historical_obs_sqlalchemy.
Unit
(_id=None, description=None, label=None)¶ -
delete
()¶ Deletes the unit from the database. Must not be used in any measurements.
-
description
¶ string representing the unit’s description. Eg, Celsius, Fahrenheit, Kilometers per Hour.
-
id
¶ string representing a unit’s unique identifier. Eg, celsius, fahrenheit, kilometers-per-hour.
-
label
¶ string representing the unit’s label. Eg, °C, °F, kph.
-
save
()¶ Immediately saves or updates a unit in the database.
-