def MarkClientDone(self, client_id):
    self.RegisterCompletedClient(client_id)

    if self.state.context.args.notification_event:
      status = hunts.HuntNotification(session_id=self.session_id,
                                      client_id=client_id)
      self.Publish(self.state.context.args.notification_event, status)
The field type is set using the key 'type'.
dataset/ETHPy150Open google/grr/grr/lib/hunts/implementation.py/GRRHunt.MarkClientDone--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_data_form.py/FieldTest.test_fromDictFieldType