It seems engine created using *create_engine* is not freed after cleanup of 
a session. Object graph indicates that event.listen for pool is holding 
reference to engine even after session is garbage collected.
*What is the right way/api to delete an engine ?*

*UseCase*
As there are lot of databases in multiple boxes whose ip/user/password can 
change I would like to destroy *session and engine* after use. Cost of 
creating/closing connection can be ignored for my use case.




-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/bTtgyK4eAy4J.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to