code: def wait_until_finished(self):
      # if there are futures to wait for
      while self.futures:
          # wait for the futures to finish
          futures = self.futures
          self.futures = []
          self.loop.run_until_complete(wait(futures))
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/execution/executors/asyncio.py
imports: from __future__ import absolute_import
  from asyncio import Future, get_event_loop, iscoroutine, wait
  from wandb_promise import Promise
label_desc: Use image node_id 2 for calling the AsyncioExecutor obj's underlying member method code with example usage: obj.wait_until_finished() without return types