duck_type_collection isn't really public API and also the association
proxy objects don't fully emulate the collections they behave as, the
issue at
https://bitbucket.org/zzzeek/sqlalchemy/issues/3040/association-proxies-are-not-json
talks about how it would be nice if these finally implemented ABCs fully
but that seems to be a very complicated task, and so far noone has been
willing to put any effort into solving this problem.
On 02/25/2016 07:10 PM, Gerald Thibault wrote:
Is this an oversight, or intentional?
Until I discovered duck_type_collection, I was using a custom function I
wrote that did basically the same exact thing, so I thought it was my
lucky day to find it already implemented in SQLAlchemy. But it looks
like it doesn't return the expected (by me at least, ha ha) results when
given an instance of sqlalchemy.ext.associationproxy._AssociationDict.
Is this working as intended?
--
You received this message because you are subscribed to the Google
Groups "sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.