The motivation is to have the new define_model method (#68) return a Model instance, rather than a DefineModelResult. To make this possible I've renamed the existing Model class (in backend.py) to Assets. (Assets is just a tuple of Python code/functions generated by a backend, given a model description.)
I've also renamed GenResult to AssetWrapper. This is much less important than the above, but it seemed a bit nicer to me.
This PR (only) renames a few things.
The motivation is to have the new
define_model
method (#68) return aModel
instance, rather than aDefineModelResult
. To make this possible I've renamed the existingModel
class (inbackend.py
) toAssets
. (Assets
is just a tuple of Python code/functions generated by a backend, given a model description.)I've also renamed
GenResult
toAssetWrapper
. This is much less important than the above, but it seemed a bit nicer to me.