lp:~thomasvs/paisley/object-views

Created by Thomas Vander Stichele and last modified
Get this branch:
bzr branch lp:~thomasvs/paisley/object-views
Only Thomas Vander Stichele can upload to this branch. If you are Thomas Vander Stichele please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Thomas Vander Stichele
Project:
Paisley
Status:
Development

Recent revisions

39. By Thomas Vander Stichele

Add a map method that opens a doc and then maps it to an objectFactory.
Also allows subclasses to cache using 'mapped'.

38. By Thomas Vander Stichele

typo

37. By Thomas Vander Stichele

add TODO

36. By Thomas Vander Stichele

add a 'mapped' method for subclasses to implement so that they can
cache mapped objects to avoid further lookups.

35. By Thomas Vander Stichele

remove the fromDict implementation from Tag, so we can fall back to the
default one.
When a view is being mapped with include_docs is True, automatically
map using the 'doc' value.

34. By Thomas Vander Stichele

Make the stub couch a real couchdb.
Extract a method to convert options to a query arg string, so the stub
can use it too.

33. By Thomas Vander Stichele

make the stub docs be a more realistic case; the view shows a count of
siblings as the value and the name as the key.

rename Tag to TagViewRow to show that this is an object that receives view
rows instead of actual mapped objects.

32. By Thomas Vander Stichele

fix typo

31. By Thomas Vander Stichele

factor out StubCouch and a specific one called TagStubCouch with the same view
both with and without include_docs.

Use it in both mapping and view tests.

30. By Thomas Vander Stichele

pep8 whitespacing

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.