Serializers
hypha.apply.api.v1.serializers
¶
ActionSerializer
¶
Bases: Field
to_representation
¶
Source code in hypha/apply/api/v1/serializers.py
ReviewSerializer
¶
Bases: ModelSerializer
opinions
class-attribute
instance-attribute
¶
opinions = OpinionSerializer(read_only=True, many=True)
Meta
¶
get_recommendation
¶
ReviewSummarySerializer
¶
Bases: Serializer
get_recommendation
¶
get_assigned
¶
Source code in hypha/apply/api/v1/serializers.py
TimestampField
¶
DeterminationSummarySerializer
¶
Bases: Serializer
determinations
class-attribute
instance-attribute
¶
determinations = DeterminationSerializer(many=True, read_only=True)
SubmissionListSerializer
¶
SubmissionSummarySerializer
¶
Bases: Serializer
SubmissionDetailSerializer
¶
Bases: ModelSerializer
determination
class-attribute
instance-attribute
¶
determination = DeterminationSummarySerializer(source='*')
is_determination_form_attached
class-attribute
instance-attribute
¶
Meta
¶
fields
class-attribute
instance-attribute
¶
fields = ('id', 'summary', 'title', 'stage', 'status', 'phase', 'meta_questions', 'meta_terms', 'questions', 'actions', 'review', 'screening', 'action_buttons', 'determination', 'is_determination_form_attached', 'is_user_staff', 'screening', 'flags', 'reminders')
serialize_questions
¶
get_is_user_staff
¶
get_meta_questions
¶
Source code in hypha/apply/api/v1/serializers.py
get_screening
¶
Source code in hypha/apply/api/v1/serializers.py
get_flags
¶
get_questions
¶
get_reminders
¶
Source code in hypha/apply/api/v1/serializers.py
get_action_buttons
¶
Source code in hypha/apply/api/v1/serializers.py
OpenRoundLabSerializer
¶
Bases: ModelSerializer