Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/flask_marshmallow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@


def _attach_fields(obj):
"""Attach all the marshmallow fields classes to ``obj``, including
"""Attach all the marshmallow field classes to ``obj``, including
Flask-Marshmallow's custom fields.
"""
for attr in base_fields.__all__:
Expand All @@ -81,7 +81,7 @@ class Marshmallow:
all fields in :mod:`marshmallow.fields`, as well as the Flask-specific
fields in :mod:`flask_marshmallow.fields`.

You can declare schema like so::
You can declare a schema like so::

class BookSchema(ma.Schema):
id = ma.Integer(dump_only=True)
Expand Down
1 change: 1 addition & 0 deletions src/flask_marshmallow/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def jsonify(
:param bool many: Whether `obj` should be serialized as an instance
or as a collection. If None, defaults to the value of the
`many` attribute on this Schema.
:param args: Additional positional arguments passed to `flask.jsonify`.
:param kwargs: Additional keyword arguments passed to `flask.jsonify`.

.. versionchanged:: 0.6.0
Expand Down
Loading