Attempting to use Inspector.from_engine to get a list a table names from
the database. Running the test suite of a large program I found that my
data would disappear. After digging around in my own code for a few
hours trying to find the problem, I tracked it down to the call to
Inspector.from_engine, and inside I see this:
if self.engine is bind:
# if engine, ensure initialized
bind.connect().close()
It seems to be the cause of the ROLLBACK.
I'm not sure why this is necessary. Thoughts?
-Ryan
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.