You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Jeff Hinrichs - DM&T <je...@dundeemt.com> on 2009/01/15 14:52:38 UTC

couchdb-python : how to access _attachments in a schema.Document

How would one access the information in the _attachments structure
with a schema.Document object?

I see the information inside the object in the _data['_attachments']
structure, but is there a way without ignoring the private nature
given the naming convention?

I see the attachment methods in the client.py but I don't want to get
the entire document yet, just verify it's existence and the other
information supplied with the stub.

Regards,

Jeff

If this is not the proper forum to ask couchdb-python questions, I
apologize and would appreciate a link to the proper channel.