Is it uncommon to pass SQL alchemy models around, even after their data has been committed. For example let's say I want to select data in a function, I commit the session and return the model.
I was getting the "instance is not bound to a session" error even after explicitly expunging the model from the session.
Just trying to figure out best practices here.
Thanks