Description
From oliora on September 02, 2013 20:05:36
I've added classes for defining and syncing of 'validate_doc_update', 'updates' and 'shows' entities in design document. Class covering 'lists' entity will be added later.
New classes called ValidateFunctionDefinition, UpdateHandlerDefinition and ShowFunctionDefinition. Also there is a new function 'sync_definitions' which syncs a list of definition subtypes. I leave the function ViewDefinition.sync_many for back compatibility (although it's not marked in documentation as deprecated because it should be discussed first), because now it just calls 'sync_definitions'.
Tests and documentation are updated to cover changes.
Patches are attached.
All changes could be also found at https://github.com/oliora/couchdb-python in design_refactoring branch.
Original issue: http://code.google.com/p/couchdb-python/issues/detail?id=229