be9ba87de9a026753137c9412bffc8deac61c1fb,src/python/pants/core/util_rules/subprocess_environment.py,SubprocessEnvironment,env_vars_to_pass_to_subprocesses,#SubprocessEnvironment#,80

Before Change



        // Inject values from the old --lang, --lc-all options if explicitly set, rather than the
        // default.
        env_var_names = {env_var.split("=", 1)[0] for env_var in self.options.env_vars}

        def handle_deprecated(env_var_name: str):
            old_configured = not self.options.is_default(env_var_name.lower())
            new_configured = env_var_name in env_var_names and not self.options.is_default(

After Change



    @property
    def env_vars_to_pass_to_subprocesses(self) -> Tuple[str, ...]:
        return tuple(sorted(set(self.options.env_vars)))


@dataclass(frozen=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: be9ba87de9a026753137c9412bffc8deac61c1fb
Time: 2020-10-28
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/core/util_rules/subprocess_environment.py
Class Name: SubprocessEnvironment
Method Name: env_vars_to_pass_to_subprocesses


Project Name: pfnet/optuna
Commit Name: ccdd6a0cb1df06715d556705255f05a94e414146
Time: 2020-10-13
Author: syameimaru_kurumi@pku.edu.cn
File Name: optuna/visualization/_contour.py
Class Name:
Method Name: _generate_contour_subplot


Project Name: uber/ludwig
Commit Name: e3d1e6dfd06c35dec767c53b930fa69fc2ff7b12
Time: 2020-04-14
Author: w4nderlust@gmail.com
File Name: ludwig/utils/visualization_utils.py
Class Name:
Method Name: hyperopt_pair_plot