Re: [sqlalchemy] bulk_update_mapping stale data error

2016-05-03 Thread Mike Bayer
On 05/03/2016 01:15 PM, Andrew Martin wrote: This is an admittedly wonky situation. And I don't have much code to offer because I think the problem is conceptual on my part, rather than code-related. We're basically using google spreadsheets as a quick and dirty interface for certain types of

[sqlalchemy] validate collections

2016-05-03 Thread Tim-Christian Mundt
I have entities which I’d like to tag with tags from a vocabulary. The associations between entities and tags are implemented with „manual M:N“, because they carry more information. class Entity(Base): id = Column(Integer, primary_key=True) tags = relationship('TagAssociation',

[sqlalchemy] bulk_update_mapping stale data error

2016-05-03 Thread Andrew Martin
This is an admittedly wonky situation. And I don't have much code to offer because I think the problem is conceptual on my part, rather than code-related. We're basically using google spreadsheets as a quick and dirty interface for certain types of data entry. I know how terrible this is.