from ma import ma
from models.goal import Goal
from schemas.player import PlayerSchema
from marshmallow import fields
from marshmallow_sqlalchemy import SQLAlchemyAutoSchema


class GoalSchema(ma.SQLAlchemyAutoSchema):
    player = fields.Nested(PlayerSchema)


    class Meta:
        model = Goal
        include_fk = True

8ae6b0c5ea0419e64ab79d4e2fe2b8a1a5470d5d
<mask token>

<mask token>


class GoalSchema(ma.SQLAlchemyAutoSchema):
    <mask token>


    class Meta:
        model = Goal
        include_fk = True

<mask token>


class GoalSchema(ma.SQLAlchemyAutoSchema):
    player = fields.Nested(PlayerSchema)


    class Meta:
        model = Goal
        include_fk = True

from ma import ma
from models.goal import Goal
from schemas.player import PlayerSchema
from marshmallow import fields
from marshmallow_sqlalchemy import SQLAlchemyAutoSchema


class GoalSchema(ma.SQLAlchemyAutoSchema):
    player = fields.Nested(PlayerSchema)


    class Meta:
        model = Goal
        include_fk = True
