Module Expr Str Import alias ImportFrom alias identifier alias alias ImportFrom alias ImportFrom alias Assign NameStore NameLoad TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad orelse TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Dict If BoolOpAnd NameLoad CompareIn Str AttributeLoad NameLoad attr body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list decorator_list
N/A N/A 
    flask_marshmallow
    ~~~~~~~~~~~~~~~~~

    Integrates the marshmallow serialization/deserialization library
    with your Flask application.

    :copyright: (c) 2014-2016 by Steven Loria
    :license: MIT, see LICENSE for more details.
 N/A warnings marshmallow fields base_fields exceptions pprint N/A fields schema Schema N/A has_sqla False N/A N/A N/A flask_sqlalchemy N/A N/A N/A ImportError N/A N/A has_sqla False N/A N/A N/A N/A sqla N/A N/A N/A ImportError N/A N/A N/A N/A warnings warn Flask-SQLAlchemy integration requires marshmallow-sqlalchemy to be installed. N/A N/A has_sqla True N/A __version__ 0.6.3.dev0 N/A __author__ Steven Loria N/A __license__ MIT N/A __all__ N/A EXTENSION_NAME Marshmallow Schema fields exceptions pprint N/A EXTENSION_NAME flask-marshmallow _attach_fields N/A N/A obj N/A N/A N/A Attach all the marshmallow fields classes to ``obj``, including
    Flask-Marshmallow's custom fields.
     N/A attr N/A base_fields __all__ N/A N/A N/A N/A hasattr obj attr N/A N/A N/A setattr obj attr N/A getattr base_fields attr N/A attr N/A fields __all__ N/A N/A N/A setattr obj attr N/A getattr fields attr N/A Marshmallow N/A object N/A N/A Wrapper class that integrates Marshmallow with a Flask application.

    To use it, instantiate with an application::

        from flask import Flask

        app = Flask(__name__)
        ma = Marshmallow(app)

    The object provides access to the :class:`Schema` class,
    all fields in :mod:`marshmallow.fields`, as well as the Flask-specific
    fields in :mod:`flask_marshmallow.fields`.

    You can declare schema like so::

        class BookSchema(ma.Schema):
            class Meta:
                fields = ('id', 'title', 'author', 'links')

            author = ma.Nested(AuthorSchema)

            links = ma.Hyperlinks({
                'self': ma.URLFor('book_detail', id='<id>'),
                'collection': ma.URLFor('book_list')
            })


    In order to integrate with Flask-SQLAlchemy, this extension must by initialized *after*
    `flask_sqlalchemy.SQLAlchemy`. ::

            db = SQLAlchemy(app)
            ma = Marshmallow(app)

    This gives you access to `ma.ModelSchema`, which generates a marshmallow
    `~marshmallow.Schema` based on the passed in model. ::

        class AuthorSchema(ma.ModelSchema):
            class Meta:
                model = Author

    :param Flask app: The Flask application object.
     __init__ N/A N/A self app N/A None N/A N/A N/A self Schema Schema N/A has_sqla N/A N/A N/A self ModelSchema N/A sqla ModelSchema N/A N/A self HyperlinkRelated N/A sqla HyperlinkRelated N/A N/A _attach_fields self N/A N/A app None N/A N/A N/A N/A self init_app app N/A init_app N/A N/A self app N/A N/A N/A Initializes the application with the extension.

        :param Flask app: The Flask application object.
         N/A N/A app extensions N/A getattr app extensions N/A N/A N/A has_sqla N/A sqlalchemy N/A app extensions N/A N/A db N/A N/A N/A app extensions N/A sqlalchemy db N/A N/A N/A N/A self ModelSchema OPTIONS_CLASS session N/A db session N/A N/A N/A app extensions N/A EXTENSION_NAME self N/A N/A