67e345020e472e1c4d634d2889d552f8e3c0cdb8,studio/http_provider.py,HTTPProvider,__init__,#HTTPProvider#Any#Any#Any#Any#,20

Before Change


        self.app = pyrebase.initialize_app(config)
        guest = config.get("guest")
        if not guest and "serviceAccount" not in config.keys():
            self.auth = get_auth(self.app,
                                 config.get("use_email_auth"),
                                 config.get("email"),
                                 config.get("password"),
                                 blocking_auth)

        self.compression = compression
        if self.compression is None:
            self.compression = config.get("compression")

After Change


        self.app = pyrebase.initialize_app(config)
        guest = config.get("guest")
        if not guest and "serviceAccount" not in config.keys():
            self.auth = get_auth(
                config["authentication"],
                blocking_auth
            )

        self.compression = compression
        if self.compression is None:
            self.compression = config.get("compression")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: studioml/studio
Commit Name: 67e345020e472e1c4d634d2889d552f8e3c0cdb8
Time: 2017-11-29
Author: peter.zhokhov@sentient.ai
File Name: studio/http_provider.py
Class Name: HTTPProvider
Method Name: __init__


Project Name: studioml/studio
Commit Name: fd198d38f36beea1b5e96c1a459b255b7143c313
Time: 2017-11-29
Author: peter.zhokhov@sentient.ai
File Name: studio/firebase_artifact_store.py
Class Name: FirebaseArtifactStore
Method Name: __init__


Project Name: studioml/studio
Commit Name: 67e345020e472e1c4d634d2889d552f8e3c0cdb8
Time: 2017-11-29
Author: peter.zhokhov@sentient.ai
File Name: studio/http_provider.py
Class Name: HTTPProvider
Method Name: __init__


Project Name: studioml/studio
Commit Name: 67e345020e472e1c4d634d2889d552f8e3c0cdb8
Time: 2017-11-29
Author: peter.zhokhov@sentient.ai
File Name: studio/keyvalue_provider.py
Class Name: KeyValueProvider
Method Name: __init__