I cannot locate the rationale for this despite a dim memory that there was one, so this is a bug with ticket 2248 created at http://www.sqlalchemy.org/trac/ticket/2248 , with a restorative patch attached. If someone can provide tests for the attached patch using a custom comparator and there's no issue (I'm assuming you might have one) the feature can be re-implemented.
On Aug 6, 2011, at 6:10 PM, Arturo Sevilla wrote: > As a follow up to this thread, I've seen in the code in version 0.7.2 that > comparator_factory is no longer working for CompositeProperty. Is this a bug? > > Reference: > http://www.sqlalchemy.org/trac/browser/lib/sqlalchemy/orm/descriptor_props.py#L75 > > You can see that in the constructor there is no way in specifying a > comporator_factory. If this is not a bug, then I guess the documentation is > wrong: > http://www.sqlalchemy.org/docs/orm/mapper_config.html#sqlalchemy.orm.composite > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/sqlalchemy/-/j5XfGj-vyZAJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sqlalchemy?hl=en. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
