1 def find_hunt_for_hunt_id(turb, hunt_id):
2 """Given a hunt ID find the database item for that hunt
4 Returns None if hunt ID is not found, otherwise a
5 dictionary with all fields from the hunt's row in the table,
6 (channel_id, active, hunt_id, name, url, sheet_url, etc.).
9 response = turb.table.get_item(
12 'SK': 'hunt-{}'.format(hunt_id)
15 if 'Item' in response:
16 return response['Item']