void (@NotNull Sdk sdk, @NotNull Project project) { synchronized (ourLock) { if (ourUnderRefresh.contains(sdk) || ourToBeRefreshed.containsKey(sdk)) return; ourUnderRefresh.add(sdk); } ProgressManager.getInstance().run(new PyUpdateSdkTask(project, sdk, new PyUpdateSdkRequestData())); }