class_docstr: Simulator for a backend deployment with concurrent dispatch and a queue.
class_docstr_tok: ["Simulator","for","a","backend","deployment","with","concurrent","dispatch","and","a","queue","."]
docstr: Return the internal status of the simulator.
  
  Returns:
      A ``SimStatus`` object representing the current simulator state.
docstr_tok: ["Return","the","internal","status","of","the","simulator",".","Returns",":","A","``","SimStatus","``","object","representing","the","current","simulator","state","."]
code: def status(self) -> SimStatus:
      """Return the internal status of the simulator.
  
      Returns:
          A ``SimStatus`` object representing the current simulator state.
      """
      now = self.time
      return SimStatus(
          queued=[t.trial_index for t in self._queued],
          running=[t.trial_index for t in self._running],
          failed=[t.trial_index for t in self._failed],
          time_remaining=[
              # pyre-fixme[58]: `+` is not supported for operand types
              #  `Optional[float]` and `float`.
              t.sim_start_time + t.sim_runtime - now
              for t in self._running
          ],
          completed=[t.trial_index for t in self._completed],
      )
  
imports: import logging
  import random
  import time
  from dataclasses import dataclass
  from logging import Logger
  from typing import Dict, List, Optional
  from ax.core.base_trial import TrialStatus
  from ax.utils.common.logger import get_logger
label_desc: Use image node_id 16 for calling the BackendSimulator obj's underlying member method code with example usage: obj.status() and returns: SimStatus