mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-06 21:33:28 +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)
|