diff --git a/graphene/types/decimal.py b/graphene/types/decimal.py index f42ac554..b2acbe7e 100644 --- a/graphene/types/decimal.py +++ b/graphene/types/decimal.py @@ -2,7 +2,7 @@ from __future__ import absolute_import from decimal import Decimal as _Decimal -from graphql.language.ast import StringValueNode, IntValueNode, FloatValueNode +from graphql.language.ast import StringValueNode, IntValueNode from .scalars import Scalar @@ -23,7 +23,7 @@ class Decimal(Scalar): @classmethod def parse_literal(cls, node): - if isinstance(node, (StringValueNode, IntValueNode, FloatValueNode)): + if isinstance(node, (StringValueNode, IntValueNode)): return cls.parse_value(node.value) @staticmethod