<filename>sesion14/schemas/author.py<gh_stars>1-10
from sesion14.app import ma

class AuthorSchema(ma.Schema):
    class Meta:
        fields = ("id", "first_name", "last_name", "nationality")
<filename>sesion14/schemas/author.py<gh_stars>1-10
from sesion14.app import ma

class AuthorSchema(ma.Schema):
    class Meta:
        fields = ("id", "first_name", "last_name", "nationality")