code: def _promise_fulfilled(self, value, i):
      # type: (Any, int) -> bool
      if self.is_resolved:
          return False
      # assert not self.is_resolved
      # assert isinstance(self._values, Iterable)
      # assert isinstance(i, int)
      self._values[i] = value  # type: ignore
      self._total_resolved += 1
      if self._total_resolved >= self._length:
          self._resolve(self._values)  # type: ignore
          return True
      return False
  
file_path: wandb/wandb/vendor/promise-2.3.0/wandb_promise/promise_list.py
imports: from functools import partial
label_desc: Use image node_id 6 for calling the PromiseList obj's underlying member method code with example usage: obj._promise_fulfilled(value, i) and returns: False, False, True