Commit Graph
3508 Commits
Author SHA1 Message Date
Harry Marr 2674d27587 Fixed bug in BaseDocument __init__ 2009-11-18 12:53:45 +00:00
Harry Marr 688fd5af66 Added connect(), document data now stored as Python
Added document length, contains, etc with tests
2009-11-17 12:32:42 +00:00
Harry Marr 0bb0ec0114 Added unit test for EmbeddedDocument 2009-11-17 01:48:43 +00:00
Harry Marr 5a87534c22 Got EmbeddedDocumentFields working
Added validation on EmbeddedDocumentField, added tests for
EmbeddedDocumentFields.
2009-11-17 01:32:40 +00:00
Harry Marr 48418d5a60 Added required fields, StringFields may be '_id's
Included tests for required fields (checks primary key is required
as well).

Switched from using SuperClass.__init__ to super().

Added constructor for EmbeddedDocumentField.
2009-11-17 01:12:52 +00:00
Harry Marr 00d897d29a Added dictionary-style access to documents
Added __init__.py info to package, moved TopLevelDocumentMetaclass
to base.py, added tests for dictionary-style access.
2009-11-16 22:49:37 +00:00
Harry Marr 768bffd67e Restructured files to avoid circular imports 2009-11-16 13:00:37 +00:00
Harry Marr af38a92ec9 Initial commit 2009-11-15 15:53:42 +00:00