Added dictionary-style access to documents
Added __init__.py info to package, moved TopLevelDocumentMetaclass to base.py, added tests for dictionary-style access.
This commit is contained in:
parent
768bffd67e
commit
00d897d29a
5 changed files with 80 additions and 38 deletions
|
|
@ -0,0 +1,8 @@
|
|||
from document import Document
|
||||
import fields
|
||||
from fields import *
|
||||
|
||||
__all__ = fields.__all__ + ['Document']
|
||||
|
||||
__author__ = 'Harry Marr'
|
||||
__version__ = '0.1'
|
||||
Loading…
Add table
Add a link
Reference in a new issue