18bcdb8709d92129701032658484de259a6444cd,atm/models.py,ATM,__init__,#ATM#,32

Before Change


    LOOP_WAIT = 1

    def __init__(self, **kwargs):
        self.sql_conf, self.run_conf, self.aws_conf, self.log_conf = load_config(
            sql_path=kwargs.sql_config,
            aws_path=kwargs.run_config,
            log_path=kwargs.log_config,
            **kwargs
        )

        self.db = Database(self.sql_conf)

        if self.log_conf:

After Change


    def __init__(self, **kwargs):

        if kwargs.get("log_config") is None:
            kwargs["log_config"] = os.path.join(PROJECT_ROOT,
                                                "config/templates/log-script.yaml")

        self.sql_conf, self.run_conf, self.aws_conf, self.log_conf = load_config(**kwargs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: HDI-Project/ATM
Commit Name: 18bcdb8709d92129701032658484de259a6444cd
Time: 2019-03-29
Author: pvkdeveloper@gmx.com
File Name: atm/models.py
Class Name: ATM
Method Name: __init__


Project Name: mozilla/TTS
Commit Name: 50fee59a2c60ca711b7959baa1711d586aa49758
Time: 2021-01-21
Author: erogol@hotmail.com
File Name: TTS/server/synthesizer.py
Class Name: Synthesizer
Method Name: load_vocoder


Project Name: autorope/donkeycar
Commit Name: 554daaeb8f3ad9fd31b2d117303eabb86b29e4b8
Time: 2019-01-28
Author: tawnkramer@gmail.com
File Name: scripts/remote_cam_view.py
Class Name:
Method Name: