On 3 Feb 2014 09:51:20 Michael Bayer mike...@zzzcomputing.com wrote:
On Feb 3, 2014, at 2:39 AM, Wolfgang Schnerring w...@gocept.com wrote:
I guess I didn't make it clear enough that I'm talking mainly about
this collections issue. Sorry about that; let me try again:
I feel it would be much
On Feb 11, 2014, at 3:44 AM, Wolfgang Schnerring w...@gocept.com wrote:
def test_children_should_be_removed_from_collection_on_savepoint(self):
session = self.sessionmaker()
parent = Parent()
Child(parent=parent)
session.add(parent)
session.commit()
Hi,
I want to override a relationship in a subclass to relate to a subclass of
the base attributes' related class. Perhaps an example of how I thought it
should work:
{{{
class Load(Base):
__tablename__ = 'load'
__mapper_args__ = {
'polymorphic_identity':'load',
On 11 Feb 2014 06:54:22 Michael Bayer mike...@zzzcomputing.com wrote:
On Feb 11, 2014, at 3:44 AM, Wolfgang Schnerring w...@gocept.com wrote:
parent = session.query(Parent).first()
self.assertEqual(1, len(parent.children))
session.begin_nested()