6c71c2ee1a0d324b0da26950d1cb85a1a0b2f5e4,mlflow/store/model_registry/sqlalchemy_store.py,SqlAlchemyStore,create_model_version,#SqlAlchemyStore#Any#Any#Any#,220

Before Change


            else:
                return 1
        with self.ManagedSessionMaker() as session:
            now = int(time.time() * 1000)
            for attempt in range(self.CREATE_MODEL_VERSION_RETRIES):
                try:
                    sql_registered_model = self._get_registered_model(session, name)
                    model_version = SqlModelVersion(name=name,

After Change


            else:
                return 1
        with self.ManagedSessionMaker() as session:
            creation_time = now()
            for attempt in range(self.CREATE_MODEL_VERSION_RETRIES):
                try:
                    sql_registered_model = self._get_registered_model(session, name)
                    sql_registered_model.last_updated_time = creation_time
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: mlflow/mlflow
Commit Name: 6c71c2ee1a0d324b0da26950d1cb85a1a0b2f5e4
Time: 2019-10-30
Author: mani@databricks.com
File Name: mlflow/store/model_registry/sqlalchemy_store.py
Class Name: SqlAlchemyStore
Method Name: create_model_version


Project Name: home-assistant/home-assistant
Commit Name: a2e45b8fdde315b756691b4ae573ad55f55dc002
Time: 2016-07-02
Author: rhooper@toybox.ca
File Name: tests/components/test_recorder.py
Class Name: TestRecorder
Method Name: _add_test_states


Project Name: home-assistant/home-assistant
Commit Name: a2e45b8fdde315b756691b4ae573ad55f55dc002
Time: 2016-07-02
Author: rhooper@toybox.ca
File Name: tests/components/test_recorder.py
Class Name: TestRecorder
Method Name: _add_test_events


Project Name: mlflow/mlflow
Commit Name: 6c71c2ee1a0d324b0da26950d1cb85a1a0b2f5e4
Time: 2019-10-30
Author: mani@databricks.com
File Name: mlflow/store/model_registry/sqlalchemy_store.py
Class Name: SqlAlchemyStore
Method Name: create_registered_model