diff --git a/graphene/types/scalars.py b/graphene/types/scalars.py index c917949e..d2263c04 100644 --- a/graphene/types/scalars.py +++ b/graphene/types/scalars.py @@ -38,7 +38,9 @@ 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, *args, **kwargs): + super(Scalar, self).__init__(*args, **kwargs) + def get_type(self): return self self.get_type = types.MethodType(get_type, self)