from extension import ma
from models.core import Core


class CoreSchema(ma.SQLAlchemyAutoSchema):
    class Meta:
        model = Core

    link = ma.Hyperlinks(ma.URLFor("coreresource", id="<id>"))
    hole = ma.Nested("HoleSchema", only=("name", "link"))
    sections = ma.List(ma.Nested("SectionSchema", only=("link", "name")))

ba98a41d07bf71cdafd3925ae725906ac2969622
<mask token>

<mask token>


class CoreSchema(ma.SQLAlchemyAutoSchema):


    class Meta:
        model = Core
    <mask token>
    <mask token>
    <mask token>

<mask token>


class CoreSchema(ma.SQLAlchemyAutoSchema):


    class Meta:
        model = Core
    link = ma.Hyperlinks(ma.URLFor('coreresource', id='<id>'))
    hole = ma.Nested('HoleSchema', only=('name', 'link'))
    sections = ma.List(ma.Nested('SectionSchema', only=('link', 'name')))

from extension import ma
from models.core import Core


class CoreSchema(ma.SQLAlchemyAutoSchema):


    class Meta:
        model = Core
    link = ma.Hyperlinks(ma.URLFor('coreresource', id='<id>'))
    hole = ma.Nested('HoleSchema', only=('name', 'link'))
    sections = ma.List(ma.Nested('SectionSchema', only=('link', 'name')))

from extension import ma
from models.core import Core


class CoreSchema(ma.SQLAlchemyAutoSchema):
    class Meta:
        model = Core

    link = ma.Hyperlinks(ma.URLFor("coreresource", id="<id>"))
    hole = ma.Nested("HoleSchema", only=("name", "link"))
    sections = ma.List(ma.Nested("SectionSchema", only=("link", "name")))
