907a87c18a59daa45b1f6383cc5d7f02ac2cbe97,sacred/observers/slack.py,SlackObserver,from_config,#Any#Any#,16

Before Change


            raise ValueError(
                "Slack configuration file must contain " "an entry for "webhook_url"!"
            )
        for k in [
            "completed_text",
            "interrupted_text",
            "failed_text",
            "bot_name",
            "icon",
        ]:
            if k in d:
                setattr(obs, k, d[k])
        return obs

    def __init__(
        self,

After Change


        ``bot_name``, ``icon``, ``completed_text``, ``interrupted_text``, and
        ``failed_text``.
        
        return cls(**load_config_file(filename))

    def __init__(
        self,
        webhook_url,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: IDSIA/sacred
Commit Name: 907a87c18a59daa45b1f6383cc5d7f02ac2cbe97
Time: 2019-08-25
Author: gabrieldemarmiesse@gmail.com
File Name: sacred/observers/slack.py
Class Name: SlackObserver
Method Name: from_config


Project Name: tensorflow/datasets
Commit Name: 83218b7cb41cbcd3b4800313ecd8fe33b846205a
Time: 2020-08-07
Author: cs17btech11040@iith.ac.in
File Name: tensorflow_datasets/core/features/sequence_feature.py
Class Name: Sequence
Method Name: from_json_content


Project Name: tensorflow/datasets
Commit Name: 83218b7cb41cbcd3b4800313ecd8fe33b846205a
Time: 2020-08-07
Author: cs17btech11040@iith.ac.in
File Name: tensorflow_datasets/core/features/features_dict.py
Class Name: FeaturesDict
Method Name: from_json_content


Project Name: tensorflow/datasets
Commit Name: 076f53b2b8159bcabb04a83860916637aa60cb86
Time: 2020-12-01
Author: epot@google.com
File Name: tensorflow_datasets/core/splits.py
Class Name: SplitDict
Method Name: from_proto