Skip to content

Commit

Permalink
Merge pull request inspirehep#6 from salmanmaq/fix_serializer
Browse files Browse the repository at this point in the history
serializers: fix serializer variables
  • Loading branch information
vbalbp authored Oct 25, 2018
2 parents 3c9f6b0 + 7beff52 commit 4840171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inspire_classifier/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@


class ScoreSchema(Schema):
core = fields.Float(attribute='rejected', required=True)
rejected = fields.Float(attribute='rejected', required=True)
non_core = fields.Float(attribute='non_core', required=True)
rejected = fields.Float(attribute='core', required=True)
core = fields.Float(attribute='core', required=True)


class ClassifierOutputSerializer(Schema):
Expand Down

0 comments on commit 4840171

Please sign in to comment.