Skip to content

Commit

Permalink
Fix import & docs for types.compound
Browse files Browse the repository at this point in the history
  • Loading branch information
bintoro committed Nov 3, 2015
1 parent 58c26ca commit 26ae9f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/api/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ Types

.. automodule:: schematics.types.base
:members:
:undoc-members:

.. automodule:: schematics.types.compound
:members:
:undoc-members:


Usage
Expand Down
3 changes: 2 additions & 1 deletion schematics/types/compound.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import itertools

from ..exceptions import ValidationError, ConversionError, ModelValidationError, StopValidation
from ..models import Model
from ..transforms import export_loop, EMPTY_LIST, EMPTY_DICT
from .base import BaseType

Expand Down Expand Up @@ -401,3 +400,5 @@ def export_loop(self, model_instance, field_converter,
elif print_none:
return shaped


from ..models import Model

0 comments on commit 26ae9f6

Please sign in to comment.