ultimately I'm hoping the "inspect()" system is just easier for everyone, but I 
haven't deprecated the old functions.   I doubt I'd ever remove them at this 
point, and they are still used internally since there's a tad less overhead to 
them.




On May 2, 2013, at 1:31 PM, Gunnlaugur Thor Briem <[email protected]> wrote:

> On Thu, May 2, 2013 at 5:08 PM, Michael Bayer <[email protected]> 
> wrote:
> and in 0.8 its this:
> 
> from sqlalchemy import inspect
> session = inspect(obj).session
> 
> Is this preferred over object_session in 0.8? object_session is still there, 
> and docs don't say it's deprecated or that inspect(obj).session is preferred.
> 
> Gulli
> 
> 
> -- 
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to