class TestObject(PersistentObject): collection = Collection(cascade_delete=True)
class TestObject(PersistentObject): collection = Collection()
class TestObject(PersistentObject): parent = Reference(bidirectional=True) collection = Collection(cascade_delete=True, bidirectional=True)