fedspendingtransparency/usaspending-api

View on GitHub
usaspending_api/submissions/serializers.py

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
from usaspending_api.common.serializers import LimitableSerializer
from usaspending_api.submissions.models import SubmissionAttributes


class SubmissionAttributesSerializer(LimitableSerializer):
    class Meta:

        model = SubmissionAttributes
        fields = "__all__"
        default_fields = ["submission_id", "toptier_code", "reporting_fiscal_year", "reporting_fiscal_quarter"]