I have a column defined as class Balance(Base): .. amount = Column(DECIMAL('16,8'), default=Decimal('0')) ..
o = db.query(Balance).get(1) Everything goes fine ... type(o.amount) => 'Decimal' but isinstance(o.amount, Decimal) => False Im porting from a noSql database and somewhere in the code i have a call to Decimal.quantize that check types using "isinstance" Question: How do i pass the isinstance check with an instance of Column? -- 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.