Sdk (@NotNull Module module) { for (Facet<?> facet : FacetManager.getInstance(module).getAllFacets()) { final FacetConfiguration configuration = facet.getConfiguration(); if (configuration instanceof PythonFacetSettings) { return ((PythonFacetSettings)configuration).getSdk(); } } return null; }