class_docstr: Runs trials on Azure Container Instances.
code: def submit(self, trial_run_fn, trials: Iterable, timeout=None):
      uri = (
          self._docker_db_uri
          if self._docker_db_uri is not None
          else self._store.uri
      )
      tasks = []
      self._store.add_trial_run_fn(
          [x.id for x in trials], trial_run_fn, self._wheel_filepaths
      )
      for trial in trials:
          params = (
              [trial.id],
              uri,
              timeout,
              self._raise_exception,
              self._image,
          )
          tasks.append(params)
  
      params = (
          tasks,
          self._azure_json,
          self._num_cores,
          self._mem_size_gb,
          self._n_running_containers,
      )
      if self._pool is None:
          try:
              res = _run(*params)
              self._trial_id_to_result[0] = res
          except Exception as e:
              self._trial_id_to_result[0] = e
              if self._raise_exception:
                  raise e
      else:
          self._trial_id_to_result[0] = self._pool.apply_async(
              _run,
              params,
              error_callback=handle_err,
          )
  
file_path: interpret/python/powerlift/src/powerlift/executors/azure_ci.py
imports: from powerlift.executors.localmachine import LocalMachine
  from powerlift.bench.store import Store
  from typing import Iterable, List
  from powerlift.executors.base import handle_err
label_desc: Use image node_id 3 for calling the AzureContainerInstance obj's underlying member method code with example usage: obj.submit(trial_run_fn, trials, timeout) without return types