mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-13 01:22:28 +03:00
Fix linting.
This commit is contained in:
parent
014769294b
commit
45b3ba55d7
|
@ -1,4 +1,5 @@
|
||||||
import six
|
import six
|
||||||
|
import types
|
||||||
|
|
||||||
from graphql.language.ast import (BooleanValue, FloatValue, IntValue,
|
from graphql.language.ast import (BooleanValue, FloatValue, IntValue,
|
||||||
StringValue)
|
StringValue)
|
||||||
|
@ -37,7 +38,7 @@ class Scalar(six.with_metaclass(ScalarTypeMeta, UnmountedType)):
|
||||||
used to parse input from ast or variables and to ensure validity.
|
used to parse input from ast or variables and to ensure validity.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
def get_type(self):
|
def get_type(self):
|
||||||
return self
|
return self
|
||||||
self.get_type = types.MethodType(get_type, self)
|
self.get_type = types.MethodType(get_type, self)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user