From 45b3ba55d76000614bb9a0bdaaff46e72cb56384 Mon Sep 17 00:00:00 2001 From: Markus Padourek Date: Fri, 21 Oct 2016 10:18:26 +0100 Subject: [PATCH] Fix linting. --- graphene/types/scalars.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphene/types/scalars.py b/graphene/types/scalars.py index d30d92b4..c917949e 100644 --- a/graphene/types/scalars.py +++ b/graphene/types/scalars.py @@ -1,4 +1,5 @@ import six +import types from graphql.language.ast import (BooleanValue, FloatValue, IntValue, StringValue) @@ -37,7 +38,7 @@ class Scalar(six.with_metaclass(ScalarTypeMeta, UnmountedType)): used to parse input from ast or variables and to ensure validity. ''' - def __init__(self): + def __init__(self): def get_type(self): return self self.get_type = types.MethodType(get_type, self)