void (@NotNull Sdk sdk, @NotNull ProgressIndicator indicator) { final String skeletonsPath = PythonSdkUtil.getSkeletonsPath(sdk); try { final String sdkPresentableName = getSdkPresentableName(sdk); LOG.info("Performing background update of skeletons for SDK " + sdkPresentableName); indicator.setText(PyBundle.message("python.sdk.updating.skeletons")); PySkeletonRefresher.refreshSkeletonsOfSdk(myProject, null, skeletonsPath, sdk); if (PythonSdkUtil.isRemote(sdk)) { updateSdkPaths(sdk, getRemoteSdkMappedPaths(sdk), getProject()); } } catch (UnsupportedPythonSdkTypeException | InvalidSdkException e) { notifyOfGenerationFailure(e, sdk); } }