mirror of
https://github.com/graphql-python/graphene.git
synced 2025-09-21 11:22:33 +03:00
Use Undefined instead of INVALID
This commit is contained in:
parent
b055241cba
commit
c9d0263deb
|
@ -1,4 +1,4 @@
|
||||||
from graphql.error import INVALID
|
from graphql import Undefined
|
||||||
from .mountedtype import MountedType
|
from .mountedtype import MountedType
|
||||||
from .structures import NonNull
|
from .structures import NonNull
|
||||||
from .utils import get_type
|
from .utils import get_type
|
||||||
|
@ -49,7 +49,7 @@ class InputField(MountedType):
|
||||||
self,
|
self,
|
||||||
type,
|
type,
|
||||||
name=None,
|
name=None,
|
||||||
default_value=INVALID,
|
default_value=Undefined,
|
||||||
deprecation_reason=None,
|
deprecation_reason=None,
|
||||||
description=None,
|
description=None,
|
||||||
required=False,
|
required=False,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user