void () { if (Registry.is("python.use.targets.api")) { Sdk selectedSdk = PythonInterpreterConfigurable.openInDialog(myProject, myModule, getEditableSelectedSdk()); onShowAllInterpretersDialogClosed(selectedSdk); } else { buildAllSdksDialog().show(); } }