"""Response data schemas."""
from flaskr import ma


# pylint: disable=too-few-public-methods
class SearchSchema(ma.Schema):
    """Search response schema."""

    class Meta:
        """Meta class."""
        fields = ('url',)


class SourceSchema(ma.Schema):
    """Source response schema."""
    class Meta:
        """Meta class."""
        fields = ('id', 'name', 'description', 'url',
                  'feed_link', 'icon', 'language')


class UserSchema(ma.Schema):
    """User response schema."""
    class Meta:
        """Meta class."""
        fields = ('username', 'email')


class PostSchema(ma.Schema):
    """Post response schema."""
    class Meta:
        """Meta class."""
        fields = ('id', 'title', 'content', 'link',
                  'author', 'published_at', 'source')
    source = ma.Nested(SourceSchema)

884a9e31c2fd0b42b8a5c9d64419d4b22f87450a
<mask token>


class SourceSchema(ma.Schema):
    <mask token>


    class Meta:
        """Meta class."""
        fields = ('id', 'name', 'description', 'url', 'feed_link', 'icon',
            'language')


class UserSchema(ma.Schema):
    """User response schema."""


    class Meta:
        """Meta class."""
        fields = 'username', 'email'


class PostSchema(ma.Schema):
    """Post response schema."""


    class Meta:
        """Meta class."""
        fields = ('id', 'title', 'content', 'link', 'author',
            'published_at', 'source')
    source = ma.Nested(SourceSchema)

<mask token>


class SourceSchema(ma.Schema):
    """Source response schema."""


    class Meta:
        """Meta class."""
        fields = ('id', 'name', 'description', 'url', 'feed_link', 'icon',
            'language')


class UserSchema(ma.Schema):
    """User response schema."""


    class Meta:
        """Meta class."""
        fields = 'username', 'email'


class PostSchema(ma.Schema):
    """Post response schema."""


    class Meta:
        """Meta class."""
        fields = ('id', 'title', 'content', 'link', 'author',
            'published_at', 'source')
    source = ma.Nested(SourceSchema)

<mask token>


class SearchSchema(ma.Schema):
    """Search response schema."""


    class Meta:
        """Meta class."""
        fields = 'url',


class SourceSchema(ma.Schema):
    """Source response schema."""


    class Meta:
        """Meta class."""
        fields = ('id', 'name', 'description', 'url', 'feed_link', 'icon',
            'language')


class UserSchema(ma.Schema):
    """User response schema."""


    class Meta:
        """Meta class."""
        fields = 'username', 'email'


class PostSchema(ma.Schema):
    """Post response schema."""


    class Meta:
        """Meta class."""
        fields = ('id', 'title', 'content', 'link', 'author',
            'published_at', 'source')
    source = ma.Nested(SourceSchema)

<mask token>
from flaskr import ma


class SearchSchema(ma.Schema):
    """Search response schema."""


    class Meta:
        """Meta class."""
        fields = 'url',


class SourceSchema(ma.Schema):
    """Source response schema."""


    class Meta:
        """Meta class."""
        fields = ('id', 'name', 'description', 'url', 'feed_link', 'icon',
            'language')


class UserSchema(ma.Schema):
    """User response schema."""


    class Meta:
        """Meta class."""
        fields = 'username', 'email'


class PostSchema(ma.Schema):
    """Post response schema."""


    class Meta:
        """Meta class."""
        fields = ('id', 'title', 'content', 'link', 'author',
            'published_at', 'source')
    source = ma.Nested(SourceSchema)

"""Response data schemas."""
from flaskr import ma


# pylint: disable=too-few-public-methods
class SearchSchema(ma.Schema):
    """Search response schema."""

    class Meta:
        """Meta class."""
        fields = ('url',)


class SourceSchema(ma.Schema):
    """Source response schema."""
    class Meta:
        """Meta class."""
        fields = ('id', 'name', 'description', 'url',
                  'feed_link', 'icon', 'language')


class UserSchema(ma.Schema):
    """User response schema."""
    class Meta:
        """Meta class."""
        fields = ('username', 'email')


class PostSchema(ma.Schema):
    """Post response schema."""
    class Meta:
        """Meta class."""
        fields = ('id', 'title', 'content', 'link',
                  'author', 'published_at', 'source')
    source = ma.Nested(SourceSchema)
