5166bec9c1f1a4f9ef2f2ded142fb084edd38165,optuna/storages/_rdb/storage.py,,_scoped_session,#Any#Any#,45
Before Change
"Another one might have committed a record with the same key(s).".format(repr(e))
)
else:
raise
except SQLAlchemyError as e:
session.rollback()
message = (
"An exception is raised during the commit. "
After Change
"Another one might have committed a record with the same key(s).".format(repr(e))
)
else:
message = (
"An exception is raised during the commit. "
"This typically happens due to invalid data in the commit, "
"e.g. exceeding max length. "
"(The actual exception is as follows: {})".format(repr(e))
)
raise optuna.exceptions.StorageInternalError(message).with_traceback(sys.exc_info()[2])
except SQLAlchemyError as e:
session.rollback()
message = (
"An exception is raised during the commit. "
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: pfnet/optuna
Commit Name: 5166bec9c1f1a4f9ef2f2ded142fb084edd38165
Time: 2020-10-24
Author: keisuke.umezawa@gmail.com
File Name: optuna/storages/_rdb/storage.py
Class Name:
Method Name: _scoped_session
Project Name: uber/pyro
Commit Name: ce8dd261f8bb1a4c61618b535dae5aa2d5136ede
Time: 2020-05-20
Author: fritzo@uber.com
File Name: pyro/poutine/trace_messenger.py
Class Name: TraceHandler
Method Name: __call__
Project Name: sentinel-hub/eo-learn
Commit Name: 6c73bb47b8a5211e2d86464bbf8bd7ff2c602af9
Time: 2019-09-03
Author: jovan.visnjic@sinergise.com
File Name: core/eolearn/core/eotask.py
Class Name: EOTask
Method Name: _execute_handling
Project Name: streamlit/streamlit
Commit Name: 969cbff0ee308f153b41c5df137b4215907857e3
Time: 2020-02-11
Author: rhone.j@gmail.com
File Name: lib/streamlit/hashing.py
Class Name: CodeHasher
Method Name: _to_bytes