8832f4680a749012a93c37826873f5a91a846f69,wandb/sdk_py27/internal/sender.py,SendManager,send_run,#SendManager#Any#,343

Before Change



        // build config dict
        config_dict = None
        config_path = os.path.join(self._settings.files_dir, filenames.CONFIG_FNAME)
        if run.config:
            config_dict = config_util.dict_from_proto_list(run.config.update)
            config_util.save_config_file_from_dict(config_path, config_dict)

After Change


            config_dict = self._resume_state["config"]
            config_dict = config_util.dict_strip_value_dict(config_dict)
            config_dict.update(config_override)
            self._consolidated_config.update(config_dict)
            config_value_dict = self._config_format(self._consolidated_config)
            self._config_save(config_value_dict)

        // handle empty config
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: wandb/client
Commit Name: 8832f4680a749012a93c37826873f5a91a846f69
Time: 2021-01-08
Author: jeff@wandb.com
File Name: wandb/sdk_py27/internal/sender.py
Class Name: SendManager
Method Name: send_run


Project Name: pantsbuild/pants
Commit Name: f51b3f2682a27e2d47e17f1abebd321effd774fd
Time: 2014-01-22
Author: benjy@foursquare.com
File Name: src/python/twitter/pants/tasks/what_changed.py
Class Name: WhatChanged
Method Name: _owns


Project Name: wandb/client
Commit Name: 074241c9d5fc1551b77308e43b6d9ff175414344
Time: 2020-08-05
Author: jeff@wandb.com
File Name: wandb/internal/sender.py
Class Name: SendManager
Method Name: handle_summary