AIworx-Labs / chocolate

A fully decentralized hyperparameter optimization framework
http://chocolate.readthedocs.io
BSD 3-Clause "New" or "Revised" License
121 stars 41 forks source link

Removed transaction that can change schema #3

Closed fmder closed 7 years ago

fmder commented 7 years ago

Datasets excludes schema modifications from transactions. With Python 3.6, when an transaction implied a schema modification such as adding a column, sqlalchemy raises a transaction error for a unknown column. The bug has been reported in pudo/dataset#203.

This PR uses local db connection and non-transactional db operations.