[sqlalchemy] Re: Session.execute() calls aren't committing...

2014-04-16 Thread Chip Kellam
I should say I don't need this logic very often, but once and a while it would be nice to use raw SQL. -- 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 sqlalchemy+

[sqlalchemy] Session.execute() calls aren't committing...

2014-04-16 Thread Chip Kellam
I have an application in which I primarily rely on MySQL/InnoDB and using the SQLAlchemy ORM and leveraging the transaction python module. Everything is good. My problem is that, try as I might, using code similar to the following, I can't get the transaction to commit: with transaction.manag

Re: [sqlalchemy] Replacing viewonly relationship properties in child classes

2014-04-16 Thread Michael Bayer
OK well the quality of the tests vary wildly, as they've been written over the course of 8 years. Some test suites that look pretty OK where the form might be applicable to these features are test/orm/test_loading.py, test/orm/test_relationships.py, test/orm/test_cascade.py.Tests involving

Re: [sqlalchemy] Replacing viewonly relationship properties in child classes

2014-04-16 Thread Konsta Vesterinen
Hi thanks for very thorough response. I would love to help with writing unit tests for this. I already started studying the testing architecture of SQLAlchemy. Any tips you can give me there? :) Also I read from the testing docs that in general SA tries to adhere to PEP8 standards. I could make