void (AbstractPythonRunConfigurationParams form) { mySdkHome = form.getSdkHome(); mySdk = form.getSdk(); myInterpreterOptions = form.getInterpreterOptions(); myEnvs = form.getEnvs(); myEnvFiles = form.getEnvFilePaths(); myPassParentEnvs = form.isPassParentEnvs(); myUseModuleSdk = form.isUseModuleSdk(); myModuleName = form.getModule() == null ? null : form.getModule().getName(); myWorkingDirectory = form.getWorkingDirectory(); myAddContentRoots = form.shouldAddContentRoots(); myAddSourceRoots = form.shouldAddSourceRoots(); myMappings = form.getMappingSettings() == null ? new PathMappingSettings() : form.getMappingSettings(); }