@Override
  PsiFile addCandidatesViaFromImports(PsiFile existingImportFile, PyFile pyFile) {
    final PyCodeStyleSettings pySettings = CodeStyle.getCustomSettings(getNode().getContainingFile(), PyCodeStyleSettings.class);
    return pySettings.OPTIMIZE_IMPORTS_ALWAYS_SPLIT_FROM_IMPORTS
           ? existingImportFile
           : super.addCandidatesViaFromImports(existingImportFile, pyFile);
  }
@Override
  PsiFile addCandidatesViaFromImports(PsiFile existingImportFile, PyFile pyFile)