Initial version of dynamic dict.
Fixed some indentation.
More tests and fixes to dynamic dict.
Refactored default_dict
Docstring
Comments
Implemented resolve method on dynamic types to allow a static dict to be generated.
Reorganised/renamed a few things. dynamic.py now contains the dynamic dict stuff whereas dynamic helper functions are in helpers.py. Also made test support explicitely a unittest thing.
Ignore env folder.
Don't pass the head node to helper functions as a separate arg, assume the function will get it from the node's head attribute.
Refactored factory API to support the declaration and creation of multiple named document structures within a single factory. The goals is to allow different variants of the same entity (e.g. admin users vs normal users vs deleted users) to be built from the same factory without needing to build lots of factories. Ultimately this is the ground work for upcoming document inheritance and traits enhancements which will allow docs to share content to really DRY up declaration.
Implemented support for document inheritance. A document may declare another document within the same factory as a parent and inherit its attributes.
Implemented traits in factories. This allows reusable dicts to be used extend multiple documents using composition.
Added trait and parent support to the main module builder methods.