if self request GET get report consolidated_inclusi on_list_repeat and

1
2
3
4
5
if self.request.GET.get('report') == 'consolidated_inclusion_list_repeat' and self.request.GET.get('update_document'):
print('Done!')
params = json.loads(self.request.GET.get('update_document'))
query = update(m.ParticipantNis).where(m.ParticipantNis.id == rec['participant_nis_id']).values(params)
session.execute(query)