Remove backref to owner since it seems to be unused, but it crashed attempts to remove items which have been removed from static data
This commit is contained in:
@@ -191,7 +191,6 @@ mapper(es_Fit, fits_table,
|
|||||||
Booster,
|
Booster,
|
||||||
collection_class=HandledBoosterList,
|
collection_class=HandledBoosterList,
|
||||||
cascade='all, delete, delete-orphan',
|
cascade='all, delete, delete-orphan',
|
||||||
backref='owner',
|
|
||||||
single_parent=True),
|
single_parent=True),
|
||||||
"_Fit__drones": relation(
|
"_Fit__drones": relation(
|
||||||
Drone,
|
Drone,
|
||||||
@@ -227,7 +226,6 @@ mapper(es_Fit, fits_table,
|
|||||||
Implant,
|
Implant,
|
||||||
collection_class=HandledImplantList,
|
collection_class=HandledImplantList,
|
||||||
cascade='all, delete, delete-orphan',
|
cascade='all, delete, delete-orphan',
|
||||||
backref='owner',
|
|
||||||
single_parent=True,
|
single_parent=True,
|
||||||
primaryjoin=fitImplants_table.c.fitID == fits_table.c.ID,
|
primaryjoin=fitImplants_table.c.fitID == fits_table.c.ID,
|
||||||
secondaryjoin=fitImplants_table.c.implantID == Implant.ID,
|
secondaryjoin=fitImplants_table.c.implantID == Implant.ID,
|
||||||
|
|||||||
Reference in New Issue
Block a user