@Override
  public @NotNull List<PydevCompletionVariant> getCompletions(String text, String actTok) throws Exception {
    if (waitingForInput || isExecuting()) {
      return Collections.emptyList();
    }
    ProgressIndicator indicator = ProgressManager.getInstance().getProgressIndicator();
    indicator.setText(createRuntimeMessage(PyBundle.message("console.getting.completion")));
    return ApplicationUtil.runWithCheckCanceled(
      () -> {
        return doGetCompletions(text, actTok);
      },
      indicator);
  }
@Override
  public @NotNull List<PydevCompletionVariant> getCompletions(String text, String actTok)