Closed c0state closed 3 years ago
Should this call expunge_all instead of expire_all?
expunge_all
expire_all
I'm seeing some test failures with stale instances that hit https://github.com/sqlalchemy/sqlalchemy/blob/rel_1_3_19/lib/sqlalchemy/orm/session.py#L2603 if only expire_all is called.
At this point, uncommitted instances can be disregarded I believe?
@jeancochrane any thoughts on this and #41 ?
Sorry for the extra late reply here @c0state, do you have a sample test I can use to verify the problem?
Should this call
expunge_all
instead ofexpire_all
?I'm seeing some test failures with stale instances that hit https://github.com/sqlalchemy/sqlalchemy/blob/rel_1_3_19/lib/sqlalchemy/orm/session.py#L2603 if only
expire_all
is called.At this point, uncommitted instances can be disregarded I believe?