

def WithUnits(self, units):
    'Declare the units for this Measurement, returns self for chaining.'
    self.units = units
    return self

dataset/ETHPy150Open google/openhtf/openhtf/util/measurements.py Measurement.WithUnits/original