class_docstr: Represents an entry in database/trials collection.
  
  Attributes
  ----------
  experiment: str
     Unique identifier for the experiment that produced this trial.
     Same as an `Experiment._id`.
  id_override: str
      Trial id returned by the database. It should be unique for a given
      set of parameters
  heartbeat: datetime.datetime
      Last time trial was identified as being alive.
  status: str
     Indicates how this trial is currently being used. Can take the following
     values:
  
     * 'new' : Denotes a fresh set of parameters suggested by an algorithm,
        not yet tried out.
     * 'reserved' : Indicates that this trial is currently being evaluated by
        a worker process, it was a 'new' trial that got selected.
     * 'suspended' : Means that an algorithm decided to stop the evaluation of
        a 'reserved' trial prematurely.
     * 'completed' : is the status of a previously 'reserved' trial that
        successfully got evaluated. `Trial.results` must contain the evaluation.
     * 'interrupted' : Indicates trials that are stopped from being evaluated
        by external *actors* (e.g. cluster timeout, KeyboardInterrupt, killing
        of the worker process).
     * 'broken' : Indicates a trial that was not successfully evaluated for not
        expected reason.
  worker: str
     Corresponds to worker's unique id that handled this trial.
  submit_time: `datetime.datetime`
     When was this trial suggested?
  start_time: `datetime.datetime`
     When was this trial first reserved?
  end_time: `datetime.datetime`
     When was this trial evaluated successfully?
  results: list of `Trial.Result`
     List of evaluated metrics for this particular set of params. One and only
     one of them is necessarily an *objective* function value. The other are
     *constraints*, the value of an expression desired to be larger/equal to 0.
  params: dict of params
     Dict of suggested values for the `Experiment` parameter space.
     Consists a sample to be evaluated.
class_docstr_tok: ["Represents","an","entry","in","database\/trials","collection",".","Attributes","--","--","--","--","--","experiment",":","str","Unique","identifier","for","the","experiment","that","produced","this","trial",".","Same","as","an","`","Experiment._id","`",".","id_override",":","str","Trial","id","returned","by","the","database",".","It","should","be","unique","for","a","given","set","of","parameters","heartbeat",":","datetime.datetime","Last","time","trial","was","identified","as","being","alive",".","status",":","str","Indicates","how","this","trial","is","currently","being","used",".","Can","take","the","following","values",":","*","'new","'",":","Denotes","a","fresh","set","of","parameters","suggested","by","an","algorithm",",","not","yet","tried","out",".","*","'reserved","'",":","Indicates","that","this","trial","is","currently","being","evaluated","by","a","worker","process",",","it","was","a","'new","'","trial","that","got","selected",".","*","'suspended","'",":","Means","that","an","algorithm","decided","to","stop","the","evaluation","of","a","'reserved","'","trial","prematurely",".","*","'completed","'",":","is","the","status","of","a","previously","'reserved","'","trial","that","successfully","got","evaluated",".","`","Trial.results","`","must","contain","the","evaluation",".","*","'interrupted","'",":","Indicates","trials","that","are","stopped","from","being","evaluated","by","external","*","actors","*","(","e.g",".","cluster","timeout",",","KeyboardInterrupt",",","killing","of","the","worker","process",")",".","*","'broken","'",":","Indicates","a","trial","that","was","not","successfully","evaluated","for","not","expected","reason",".","worker",":","str","Corresponds","to","worker","'s","unique","id","that","handled","this","trial",".","submit_time",":","`","datetime.datetime","`","When","was","this","trial","suggested","?","start_time",":","`","datetime.datetime","`","When","was","this","trial","first","reserved","?","end_time",":","`","datetime.datetime","`","When","was","this","trial","evaluated","successfully","?","results",":","list","of","`","Trial.Result","`","List","of","evaluated","metrics","for","this","particular","set","of","params",".","One","and","only","one","of","them","is","necessarily","an","*","objective","*","function","value",".","The","other","are","*","constraints","*",",","the","value","of","an","expression","desired","to","be","larger\/equal","to","0.","params",":","dict","of","params","Dict","of","suggested","values","for","the","`","Experiment","`","parameter","space",".","Consists","a","sample","to","be","evaluated","."]
docstr: Whether two trials are equal is based on id alone.
  
  This includes params, experiment, parent and lie. All other attributes of the
  trials are ignored when comparing them.
code: def __eq__(self, other):
      """Whether two trials are equal is based on id alone.
  
      This includes params, experiment, parent and lie. All other attributes of the
      trials are ignored when comparing them.
      """
      return self.id == other.id
  
imports: from __future__ import annotations
  import copy
  import hashlib
  import logging
  import os
  import warnings
  from datetime import timedelta
  from orion.core.utils.exceptions import InvalidResult
  from orion.core.utils.flatten import unflatten
label_desc: Use image node_id 24 for calling the Trial obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown