Searched refs:unit_type (Results 1 – 2 of 2) sorted by relevance
69 def __init__(self, value, unit_type, unit): argument70 if unit_type not in CONVERSION_TABLES:71 raise TypeError('%s is not a valid unit type' % unit_type)73 self._unit_type = unit_type
459 unit_type = metric['unit_type']470 lower_bound = Measurement(lower_value, unit_type, unit)471 upper_bound = Measurement(upper_value, unit_type, unit)