Package couchdbkit :: Package schema :: Module base
[hide private]
[frames] | no frames]

Module base

source code

module that provides a Document object that allows you to map CouchDB document in Python statically, dynamically or both

Classes [hide private]
  SchemaProperties
  DocumentSchema
  DocumentBase
Base Document object that map a CouchDB Document.
  AttachmentMixin
mixin to manage doc attachments.
  QueryMixin
Mixin that add query methods
  Document
Full featured document object implementing the following :
  StaticDocument
Shorthand for a document that disallow dynamic properties.
Functions [hide private]
 
check_reserved_words(attr_name) source code
 
valid_id(value) source code
Variables [hide private]
  ALLOWED_PROPERTY_TYPES
  ReservedWordError
  _RESERVED_WORDS = ['_id', '_rev', '$schema']
  _NODOC_WORDS = ['doc_type']