code: def _init(self, values):
      # type: (Collection) -> None
      self._values = values
      if not isinstance(values, Iterable):
          err = Exception(
              "PromiseList requires an iterable. Received {}.".format(
                  repr(values)
              )
          )
          self.promise._reject_callback(err, False)
          return
  
      if not values:
          self._resolve([])
          return
  
      self._iterate(values)
      return
  
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 4 for calling the PromiseList obj's underlying member method code with example usage: obj._init(values) without return types