[sqlalchemy] AttributeError: 'GenericTypeCompiler' object has no attribute 'visit_DOUBLE_PRECISION'

2010-10-02 Thread Jarrod Chesney
Hi All I'm reflecting a postgresql schema and then taking a str() of the column types, It goes well until it hits a double field type. here is the str of my reflected column object: set: set([Column(u'ASSET_ID', DOUBLE_PRECISION(precision=53, asdecimal=False), table=tbl_SITES)]) Here is the

Re: [sqlalchemy] AttributeError: 'GenericTypeCompiler' object has no attribute 'visit_DOUBLE_PRECISION'

2010-10-02 Thread Michael Bayer
On Oct 2, 2010, at 5:30 PM, Jarrod Chesney wrote: Hi All I'm reflecting a postgresql schema and then taking a str() of the column types, It goes well until it hits a double field type. here is the str of my reflected column object: set: set([Column(u'ASSET_ID',

[sqlalchemy] Re: AttributeError: 'GenericTypeCompiler' object has no attribute 'visit_DOUBLE_PRECISION'

2010-10-02 Thread Jarrod Chesney
Thanks Michael Is this in the manual anywhere? On Oct 3, 7:44 am, Michael Bayer mike...@zzzcomputing.com wrote: On Oct 2, 2010, at 5:30 PM, Jarrod Chesney wrote: Hi All I'm reflecting a postgresql schema and then taking a str() of the column types, It goes well until it hits a double

Re: [sqlalchemy] Re: AttributeError: 'GenericTypeCompiler' object has no attribute 'visit_DOUBLE_PRECISION'

2010-10-02 Thread Michael Bayer
no, its not ideal that a nicer message isn't raised so str() for types is not mentioned at all currently. str() as a stringifier for types was only introduced in 0.6.4. But you would get that error if you tried to call str() on any cast() function with a dialect-specific type previously.