e67bdcc03032345f00105928da1d832f8514cbd3,studio/firebase_artifact_store.py,FirebaseArtifactStore,__init__,#FirebaseArtifactStore#Any#Any#Any#Any#,16

Before Change


        self.app = pyrebase.initialize_app(db_config)

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

        self.logger = logging.getLogger("FirebaseArtifactStore")
        self.logger.setLevel(verbose)
        super(FirebaseArtifactStore, self).__init__(measure_timestamp_diff)

After Change


        self.app = pyrebase.initialize_app(db_config)

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

        self.logger = logging.getLogger("FirebaseArtifactStore")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: d1c53afd1bf7d5989684e585c324160bd80bbd39
Time: 2020-05-08
Author: jerlawson@google.com
File Name: perfkitbenchmarker/scripts/object_storage_api_test_scripts/s3.py
Class Name: S3Service
Method Name: __init__


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: dd1c5edc171ecff03f438689e3829a3240c94b87
Time: 2020-04-09
Author: jerlawson@google.com
File Name: perfkitbenchmarker/scripts/object_storage_api_test_scripts/s3.py
Class Name: S3Service
Method Name: __init__