On 2015-06-05 20:53 <c.bu...@posteo.jp> wrote:
> How can I find out if an object is a SQLAlchemy mapped one?

This work, but I am not sure if it is elegant. What do you think?

type(type(model)) == type(sqlalchemy.ext.declarative.declarative_base())

-- 
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 sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to