> mmmm, i think the contract of TypeDecorator is that you don't need to deal 
> with super().   But the funny thing about Interval is its already a 
> TypeDecorator, but the idea should be the same (in 0.5 too...)

Ya, I just had a look at the 0.5.8 docs;
http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/types.html#sqlalchemy.types.TypeDecorator
and the example given is the second way.  I can't find an example of
the first way (subclassing & super) so it must have been something I
hacked together which happened to work.

Thanks

Eoghan

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to