Refresh the execution during resume_execution to avoid using a detached SqlAlchemy instance
Compare changes
Files
1- Daniel Lyons authored
The idea here is to avoid a possible threading issue by re-retrieving the execution during resume_execution so as to avoid changing state and then trying to save a detached instance.