[sqlalchemy] how to get data type that InstrumentedAttribute expects

2010-01-18 Thread Kent
Given an InstrumentedAttribute object, how can you determine which data type (int, str, datetime, etc) that the attribute expects to house? Thanks in advance if anyone can answer this. -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this

Re: [sqlalchemy] how to get data type that InstrumentedAttribute expects

2010-01-18 Thread Michael Bayer
On Jan 18, 2010, at 7:33 AM, Kent wrote: Given an InstrumentedAttribute object, how can you determine which data type (int, str, datetime, etc) that the attribute expects to house? Thanks in advance if anyone can answer this. for a column-based attribute you can get at the column and its