cf03844960278b258e4f9597af2a073ca711818e,wandb/sdk_py27/wandb_init.py,_WandbInit,init,#_WandbInit#,428

Before Change


        logger.info("atexit reg")
        self._hooks = ExitHooks()
        self._hooks.hook()
        atexit.register(lambda: self._atexit_cleanup())

        if self._use_redirect:
            // setup fake callback
            self._redirect_cb = self._callback

After Change


        config = self.config

        if s.reinit:
            if len(self._wl._global_run_stack) > 0:
                if len(self._wl._global_run_stack) > 1:
                    wandb.termwarn(
                        "If you want to track multiple runs concurrently in wandb you should use multi-processing not threads"  // noqa: E501
                    )
                wandb.join()

        if s.mode == "noop":
            // TODO(jhr): return dummy object
            return None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: wandb/client
Commit Name: cf03844960278b258e4f9597af2a073ca711818e
Time: 2020-07-27
Author: jeff@wandb.com
File Name: wandb/sdk_py27/wandb_init.py
Class Name: _WandbInit
Method Name: init


Project Name: akkana/scripts
Commit Name: cb38a31627f152c22fb9e474c31b34da588e1134
Time: 2020-07-26
Author: akkana@shallowsky.com
File Name: starstack.py
Class Name:
Method Name:


Project Name: wandb/client
Commit Name: cf03844960278b258e4f9597af2a073ca711818e
Time: 2020-07-27
Author: jeff@wandb.com
File Name: wandb/sdk/wandb_init.py
Class Name: _WandbInit
Method Name: init