Closed victorgarcia98 closed 2 months ago
Was this option introduced recently in SQLAlchemy? If so, perhaps we should specify a minimum requirement, too.
Good point. This feature was introduced in SQLAlchemy 1.1 and the project requires SQLAlchemy >= 2.0 so we don't need to constraint it.
Good idea! I've implemented the suggested changes and update the tests.
Previously, it wasn't possible to bulk save beliefs with the
allow_overwrite = True
. With the help ofON CONFLICT DO NOTHING
, we can bulk save beliefs and ignore duplicated key conflicts.