gem/openquake — pull request #624 by larsbutler (2011-12-29 11:55:15+00:00)
Title: Decouple job and mixins

This branch addresses: https://bugs.launchpad.net/openquake/+bug/908148

The major change here is that calculator Mixin classes must be instantiated with a Job object. The Job and the Mixin are no longer mashed together at runtime into a Frankenobject; instead, we use a silly little pattern called 'composition'.

There is still a bit of a mess here; the mixins still exist and some things are not quite how we would like them to be. This branch, however, is a big step towards our goal.

For a few of the next steps in Operation: Destroy the Mixins, see:
https://bugs.launchpad.net/openquake/+bug/909663
https://bugs.launchpad.net/openquake/+bug/907243

https://github.com/gem/openquake/pull/622 and https://github.com/gem/openquake/pull/623 should land first.