Great! Thanks a lot, Michael.
On Mar 30, 4:42 pm, "Michael Bayer" <mike...@zzzcomputing.com> wrote: > Tobias wrote: > > Hi, > > > So I thought I could write just one method, that is annotated with > > @compiles(__base_function), but this does not work. I have to write a > > method for each class that inherits from __base_function: > > > @compiles(wkt) > > def compile_wkt(element, compiler, **kw): > > return __call_function(element, compiler) > > > @compiles(wkb) > > def compile_wkb(element, compiler, **kw): > > return __call_function(element, compiler) > > none of that was really working (including, can't even have @compiles on > the base and subclass at the same time) so that all works in > rea184f5ba747. latest tip. -- 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.