class_docstr: TrialContext is the system-provided API to a Trial class.
class_docstr_tok: ["TrialContext","is","the","system-provided","API","to","a","Trial","class","."]
docstr: Return the trial ID of the current trial.
docstr_tok: ["Return","the","trial","ID","of","the","current","trial","."]
code: def get_trial_id(self) -> int:
      """
      Return the trial ID of the current trial.
      """
      return int(self.env.det_trial_id)
  
file_path: determined/harness/determined/_trial_context.py
imports: import logging
  import pathlib
  from typing import Any, Dict
  import determined
  from determined import core
label_desc: Use image node_id 6 for calling the TrialContext obj's underlying member method code with example usage: obj.get_trial_id() and returns: int