Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
nonamenix authored Feb 19, 2019
1 parent c36e8b1 commit 97d1996
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Use annotations for schema description.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: python
from jam import Schema
class Bar(Schema):
Expand Down Expand Up @@ -84,4 +85,4 @@ annotation marshmallow field
``NestedSchema`` ``fields.Nested(NestedSchema, required=True)``
``typing.Optional[NestedSchema]`` ``fields.Nested(NestedSchema, required=True)``
``typing.List[NestedSchema]`` ``fields.Nested(NestedSchema, required=True, many=True)``
================================= =========================================================
================================= =========================================================

0 comments on commit 97d1996

Please sign in to comment.