You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrated issue, originally created by Michael Bayer (@zzzeek)
custom list types are specifeid like this:
class Foo(object):
elements: sets.Set
mapper(Foo, table, properties={'elements':relation(Element)})
having the sets.Set specified at the class level is inconsistent with everything else. this is a leftover from the old way this was done where classes would construct the list class themselves, etc. now it should be:
class Foo(object):
pass
mapper(Foo, table, properties={'elements':relation(Element, collection=sets.Set)})
and deprecate the other way of doing it.
The text was updated successfully, but these errors were encountered:
Migrated issue, originally created by Michael Bayer (@zzzeek)
custom list types are specifeid like this:
having the
sets.Set
specified at the class level is inconsistent with everything else. this is a leftover from the old way this was done where classes would construct the list class themselves, etc. now it should be:and deprecate the other way of doing it.
The text was updated successfully, but these errors were encountered: