code: def get(self, deviceId):
          
          measurementsByName = self.measurements.get(deviceId)
          if measurementsByName is None:
              return []
          else:
              return list(measurementsByName.values())
docs: lists all known active measurements.