What steps will reproduce the problem?
When calling the view method on a subclass of schema.Document with
eager=True and include_docs=True the results are not wrapped
(client.Documents are returned instead of instances of the
schema.Document subclass). If called with eager=True and
include_docs=False the results are properly wrapped.
What is the expected output? What do you see instead?
>>> list(Document.view(db, '_all_docs', eager=True,
include_docs=True))[0].__class__
Got: <class 'couchdb.client.Document'>
Expect: <class 'couchdb.schema.Document'>
What version of the product are you using? On what operating system?
SVN
Original issue reported on code.google.com by mike%min...@gtempaccount.com on 3 Jun 2009 at 11:40
Original issue reported on code.google.com by
mike%min...@gtempaccount.com
on 3 Jun 2009 at 11:40Attachments: