mirror of
https://github.com/graphql-python/graphene.git
synced 2024-12-03 06:53:59 +03:00
11 lines
315 B
Python
11 lines
315 B
Python
from graphql.core.type.definition import GraphQLScalarType
|
|
|
|
|
|
def skip(value):
|
|
return None
|
|
|
|
GraphQLSkipField = GraphQLScalarType(name='SkipField',
|
|
serialize=skip,
|
|
parse_value=skip,
|
|
parse_literal=skip)
|