code: def trial_end(self, trial_job_id, success):
      _end_trials.append((trial_job_id, success))
  
file_path: nni/test/ut/sdk/test_assessor.py
imports: from io import BytesIO
  import json
  from unittest import TestCase, main
  from nni.assessor import Assessor, AssessResult
  from nni.runtime import msg_dispatcher_base
  from nni.runtime.msg_dispatcher import MsgDispatcher
  from nni.runtime.tuner_command_channel.legacy import *
label_desc: Use image node_id 2 for calling the NaiveAssessor obj's underlying member method code with example usage: obj.trial_end(trial_job_id, success) without return types