+invirt-database (0.1.0) unstable; urgency=low
+
+ * Turn on lazy loading for all tables
+
+ -- Evan Broder <broder@mit.edu> Mon, 17 Nov 2008 21:57:35 -0500
+
invirt-database (0.0.6) unstable; urgency=low
* Let machines.administrator be NULL
return "<Autoinstall %s: %s (%s)>" % (self.autoinstall_id, self.description, self.type.type_id)
session.mapper(Machine, machine_table,
- properties={'nics': relation(NIC, backref="machine", lazy=False),
- 'disks': relation(Disk, backref="machine", lazy=False),
- 'type': relation(Type, lazy=False),
- 'acl': relation(MachineAccess, backref="machine", lazy=False, passive_deletes=True, cascade="all, delete-orphan")});
+ properties={'nics': relation(NIC, backref="machine"),
+ 'disks': relation(Disk, backref="machine"),
+ 'type': relation(Type),
+ 'acl': relation(MachineAccess, backref="machine", passive_deletes=True, cascade="all, delete-orphan")});
session.mapper(MachineAccess, machine_access_table)
session.mapper(NIC, nic_table)
session.mapper(Disk, disk_table)