from __future__ import unicode_literals

from ..base import Resource
from .details import DossierDetail, DossierDetailsMixin
from .dossier_features import DossierFeature


class TransportDossier(Resource, DossierDetailsMixin):
    _resource_name = 'transport_dossiers'

    _as_is_fields = [
        'id', 'href', 'features', 'capacity', 'private', 'name',
        'dossier_segment',
    ]

    _model_collection_fields = [
        ('details', DossierDetail),
        ('features', DossierFeature),
    ]

    _date_time_fields_local = ['date_created', 'date_last_modified']

from __future__ import unicode_literals

from ..base import Resource
from .details import DossierDetail, DossierDetailsMixin
from .dossier_features import DossierFeature


class TransportDossier(Resource, DossierDetailsMixin):
    _resource_name = 'transport_dossiers'

    _as_is_fields = [
        'id', 'href', 'capacity', 'private', 'name',
        'dossier_segment',
    ]

    _model_collection_fields = [
        ('details', DossierDetail),
        ('features', DossierFeature),
    ]

    _date_time_fields_local = ['date_created', 'date_last_modified']

Remove features from as-is fields on TransportDossier
Remove features from as-is fields on TransportDossier

Reflected as a model_collection_field
