def get_range(cls, object_id, start, end):
  """Get histroic values for a given object and field."""
  building_id = building.get_id()
  history_table = get_history_table()
  values = history_table.query_2(
      hash_key__eq='%s-%s-%s' % (building_id, cls, object_id),
      range_key__gt=start,
      range_key__lte=end)

  for value in values:
    del value['hash_key']
    yield value
dataset/ETHPy150Open tomwilkie/awesomation/src/appengine/history.py/get_range/original