| 1 |
"""GraphQL-core |
| 2 |
|
| 3 |
The primary :mod:`graphql` package includes everything you need to define a GraphQL |
| 4 |
schema and fulfill GraphQL requests. |
| 5 |
|
| 6 |
GraphQL-core provides a reference implementation for the GraphQL specification |
| 7 |
but is also a useful utility for operating on GraphQL files and building sophisticated |
| 8 |
tools. |
| 9 |
|
| 10 |
This top-level package exports a general purpose function for fulfilling all steps |
| 11 |
of the GraphQL specification in a single operation, but also includes utilities |
| 12 |
for every part of the GraphQL specification: |
| 13 |
|
| 14 |
- Parsing the GraphQL language. |
| 15 |
- Building a GraphQL type schema. |
| 16 |
- Validating a GraphQL request against a type schema. |
| 17 |
- Executing a GraphQL request against a type schema. |
| 18 |
|
| 19 |
This also includes utility functions for operating on GraphQL types and GraphQL |
| 20 |
documents to facilitate building tools. |
| 21 |
|
| 22 |
You may also import from each sub-package directly. For example, the following two |
| 23 |
import statements are equivalent:: |
| 24 |
|
| 25 |
from graphql import parse |
| 26 |
from graphql.language import parse |
| 27 |
|
| 28 |
The sub-packages of GraphQL-core 3 are: |
| 29 |
|
| 30 |
- :mod:`graphql.language`: Parse and operate on the GraphQL language. |
| 31 |
- :mod:`graphql.type`: Define GraphQL types and schema. |
| 32 |
- :mod:`graphql.validation`: The Validation phase of fulfilling a GraphQL result. |
| 33 |
- :mod:`graphql.execution`: The Execution phase of fulfilling a GraphQL request. |
| 34 |
- :mod:`graphql.error`: Creating and formatting GraphQL errors. |
| 35 |
- :mod:`graphql.utilities`: |
| 36 |
Common useful computations upon the GraphQL language and type objects. |
| 37 |
""" |
| 38 |
|
| 39 |
# The GraphQL-core 3 and GraphQL.js version info. |
| 40 |
|
| 41 |
from .version import version, version_info, version_js, version_info_js |
| 42 |
|
| 43 |
# Utilities for compatibility with the Python language. |
| 44 |
from .pyutils import Undefined, UndefinedType |
| 45 |
|
| 46 |
# Create, format, and print GraphQL errors. |
| 47 |
from .error import ( |
| 48 |
GraphQLError, |
| 49 |
GraphQLErrorExtensions, |
| 50 |
GraphQLFormattedError, |
| 51 |
GraphQLFormattedErrorExtensions, |
| 52 |
GraphQLSyntaxError, |
| 53 |
located_error, |
| 54 |
) |
| 55 |
|
| 56 |
# Parse and operate on GraphQL language source files. |
| 57 |
from .language import ( |
| 58 |
Source, |
| 59 |
get_location, |
| 60 |
# Print source location |
| 61 |
print_location, |
| 62 |
print_source_location, |
| 63 |
# Lex |
| 64 |
Lexer, |
| 65 |
TokenKind, |
| 66 |
# Parse |
| 67 |
parse, |
| 68 |
parse_value, |
| 69 |
parse_const_value, |
| 70 |
parse_type, |
| 71 |
parse_schema_coordinate, |
| 72 |
# Print |
| 73 |
print_ast, |
| 74 |
# Visit |
| 75 |
visit, |
| 76 |
ParallelVisitor, |
| 77 |
Visitor, |
| 78 |
VisitorAction, |
| 79 |
VisitorKeyMap, |
| 80 |
BREAK, |
| 81 |
SKIP, |
| 82 |
REMOVE, |
| 83 |
IDLE, |
| 84 |
DirectiveLocation, |
| 85 |
# Predicates |
| 86 |
is_definition_node, |
| 87 |
is_executable_definition_node, |
| 88 |
is_selection_node, |
| 89 |
is_value_node, |
| 90 |
is_const_value_node, |
| 91 |
is_type_node, |
| 92 |
is_type_system_definition_node, |
| 93 |
is_type_definition_node, |
| 94 |
is_type_system_extension_node, |
| 95 |
is_type_extension_node, |
| 96 |
is_schema_coordinate_node, |
| 97 |
# Types |
| 98 |
SourceLocation, |
| 99 |
Location, |
| 100 |
Token, |
| 101 |
# AST nodes |
| 102 |
Node, |
| 103 |
# Each kind of AST node |
| 104 |
NameNode, |
| 105 |
DocumentNode, |
| 106 |
DefinitionNode, |
| 107 |
ExecutableDefinitionNode, |
| 108 |
OperationDefinitionNode, |
| 109 |
OperationType, |
| 110 |
VariableDefinitionNode, |
| 111 |
VariableNode, |
| 112 |
SelectionSetNode, |
| 113 |
SelectionNode, |
| 114 |
FieldNode, |
| 115 |
ArgumentNode, |
| 116 |
ConstArgumentNode, |
| 117 |
FragmentSpreadNode, |
| 118 |
InlineFragmentNode, |
| 119 |
FragmentDefinitionNode, |
| 120 |
ValueNode, |
| 121 |
ConstValueNode, |
| 122 |
IntValueNode, |
| 123 |
FloatValueNode, |
| 124 |
StringValueNode, |
| 125 |
BooleanValueNode, |
| 126 |
NullValueNode, |
| 127 |
EnumValueNode, |
| 128 |
ListValueNode, |
| 129 |
ConstListValueNode, |
| 130 |
ObjectValueNode, |
| 131 |
ConstObjectValueNode, |
| 132 |
ObjectFieldNode, |
| 133 |
ConstObjectFieldNode, |
| 134 |
DirectiveNode, |
| 135 |
ConstDirectiveNode, |
| 136 |
TypeNode, |
| 137 |
NamedTypeNode, |
| 138 |
ListTypeNode, |
| 139 |
NonNullTypeNode, |
| 140 |
TypeSystemDefinitionNode, |
| 141 |
SchemaDefinitionNode, |
| 142 |
OperationTypeDefinitionNode, |
| 143 |
TypeDefinitionNode, |
| 144 |
ScalarTypeDefinitionNode, |
| 145 |
ObjectTypeDefinitionNode, |
| 146 |
FieldDefinitionNode, |
| 147 |
InputValueDefinitionNode, |
| 148 |
InterfaceTypeDefinitionNode, |
| 149 |
UnionTypeDefinitionNode, |
| 150 |
EnumTypeDefinitionNode, |
| 151 |
EnumValueDefinitionNode, |
| 152 |
InputObjectTypeDefinitionNode, |
| 153 |
DirectiveDefinitionNode, |
| 154 |
TypeSystemExtensionNode, |
| 155 |
SchemaExtensionNode, |
| 156 |
TypeExtensionNode, |
| 157 |
ScalarTypeExtensionNode, |
| 158 |
ObjectTypeExtensionNode, |
| 159 |
InterfaceTypeExtensionNode, |
| 160 |
UnionTypeExtensionNode, |
| 161 |
EnumTypeExtensionNode, |
| 162 |
InputObjectTypeExtensionNode, |
| 163 |
DirectiveExtensionNode, |
| 164 |
# Schema Coordinates |
| 165 |
SchemaCoordinateNode, |
| 166 |
TypeCoordinateNode, |
| 167 |
MemberCoordinateNode, |
| 168 |
ArgumentCoordinateNode, |
| 169 |
DirectiveCoordinateNode, |
| 170 |
DirectiveArgumentCoordinateNode, |
| 171 |
) |
| 172 |
|
| 173 |
# Utilities for operating on GraphQL type schema and parsed sources. |
| 174 |
from .utilities import ( |
| 175 |
# Produce the GraphQL query recommended for a full schema introspection. |
| 176 |
# Accepts optional IntrospectionOptions. |
| 177 |
get_introspection_query, |
| 178 |
IntrospectionQuery, |
| 179 |
# Get the target Operation from a Document. |
| 180 |
get_operation_ast, |
| 181 |
# Get the Type for the target Operation AST. |
| 182 |
get_operation_root_type, |
| 183 |
# Convert a GraphQLSchema to an IntrospectionQuery. |
| 184 |
introspection_from_schema, |
| 185 |
# Build a GraphQLSchema from an introspection result. |
| 186 |
build_client_schema, |
| 187 |
# Build a GraphQLSchema from a parsed GraphQL Schema language AST. |
| 188 |
build_ast_schema, |
| 189 |
# Build a GraphQLSchema from a GraphQL schema language document. |
| 190 |
build_schema, |
| 191 |
# Extend an existing GraphQLSchema from a parsed GraphQL Schema language AST. |
| 192 |
extend_schema, |
| 193 |
# Sort a GraphQLSchema. |
| 194 |
lexicographic_sort_schema, |
| 195 |
# Print a GraphQLSchema to GraphQL Schema language. |
| 196 |
print_schema, |
| 197 |
# Print a GraphQLType to GraphQL Schema language. |
| 198 |
print_type, |
| 199 |
# Prints the built-in introspection schema in the Schema Language format. |
| 200 |
print_introspection_schema, |
| 201 |
# Create a GraphQLType from a GraphQL language AST. |
| 202 |
type_from_ast, |
| 203 |
# Convert a language AST to a dictionary. |
| 204 |
ast_to_dict, |
| 205 |
# Create a Python value from a GraphQL language AST with a Type. |
| 206 |
value_from_ast, |
| 207 |
# Create a Python value from a GraphQL language AST without a Type. |
| 208 |
value_from_ast_untyped, |
| 209 |
# Create a GraphQL language AST from a Python value. |
| 210 |
ast_from_value, |
| 211 |
# A helper to use within recursive-descent visitors which need to be aware of the |
| 212 |
# GraphQL type system. |
| 213 |
TypeInfo, |
| 214 |
TypeInfoVisitor, |
| 215 |
# Coerce a Python value to a GraphQL type, or produce errors. |
| 216 |
coerce_input_value, |
| 217 |
# Concatenates multiple ASTs together. |
| 218 |
concat_ast, |
| 219 |
# Separate an AST into an AST per Operation. |
| 220 |
separate_operations, |
| 221 |
# Strip characters that are not significant to the validity or execution |
| 222 |
# of a GraphQL document. |
| 223 |
strip_ignored_characters, |
| 224 |
# Comparators for types |
| 225 |
is_equal_type, |
| 226 |
is_type_sub_type_of, |
| 227 |
do_types_overlap, |
| 228 |
# Assert a string is a valid GraphQL name. |
| 229 |
assert_valid_name, |
| 230 |
# Determine if a string is a valid GraphQL name. |
| 231 |
is_valid_name_error, |
| 232 |
# Compare two GraphQLSchemas and detect breaking changes. |
| 233 |
BreakingChange, |
| 234 |
BreakingChangeType, |
| 235 |
DangerousChange, |
| 236 |
DangerousChangeType, |
| 237 |
find_breaking_changes, |
| 238 |
find_dangerous_changes, |
| 239 |
# Resolve a schema coordinate to a schema element. |
| 240 |
resolve_schema_coordinate, |
| 241 |
resolve_ast_schema_coordinate, |
| 242 |
ResolvedNamedType, |
| 243 |
ResolvedField, |
| 244 |
ResolvedInputField, |
| 245 |
ResolvedEnumValue, |
| 246 |
ResolvedFieldArgument, |
| 247 |
ResolvedDirective, |
| 248 |
ResolvedDirectiveArgument, |
| 249 |
ResolvedSchemaElement, |
| 250 |
) |
| 251 |
|
| 252 |
# Create and operate on GraphQL type definitions and schema. |
| 253 |
from .type import ( |
| 254 |
# Definitions |
| 255 |
GraphQLSchema, |
| 256 |
GraphQLDirective, |
| 257 |
GraphQLScalarType, |
| 258 |
GraphQLObjectType, |
| 259 |
GraphQLInterfaceType, |
| 260 |
GraphQLUnionType, |
| 261 |
GraphQLEnumType, |
| 262 |
GraphQLInputObjectType, |
| 263 |
GraphQLList, |
| 264 |
GraphQLNonNull, |
| 265 |
# Standard GraphQL Scalars |
| 266 |
specified_scalar_types, |
| 267 |
GraphQLInt, |
| 268 |
GraphQLFloat, |
| 269 |
GraphQLString, |
| 270 |
GraphQLBoolean, |
| 271 |
GraphQLID, |
| 272 |
# Int boundaries constants |
| 273 |
GRAPHQL_MAX_INT, |
| 274 |
GRAPHQL_MIN_INT, |
| 275 |
# Built-in Directives defined by the Spec |
| 276 |
specified_directives, |
| 277 |
GraphQLIncludeDirective, |
| 278 |
GraphQLSkipDirective, |
| 279 |
GraphQLDeprecatedDirective, |
| 280 |
GraphQLSpecifiedByDirective, |
| 281 |
GraphQLOneOfDirective, |
| 282 |
# "Enum" of Type Kinds |
| 283 |
TypeKind, |
| 284 |
# Constant Deprecation Reason |
| 285 |
DEFAULT_DEPRECATION_REASON, |
| 286 |
# GraphQL Types for introspection. |
| 287 |
introspection_types, |
| 288 |
# Meta-field definitions. |
| 289 |
SchemaMetaFieldDef, |
| 290 |
TypeMetaFieldDef, |
| 291 |
TypeNameMetaFieldDef, |
| 292 |
# Predicates |
| 293 |
is_schema, |
| 294 |
is_directive, |
| 295 |
is_type, |
| 296 |
is_scalar_type, |
| 297 |
is_object_type, |
| 298 |
is_interface_type, |
| 299 |
is_union_type, |
| 300 |
is_enum_type, |
| 301 |
is_input_object_type, |
| 302 |
is_list_type, |
| 303 |
is_non_null_type, |
| 304 |
is_input_type, |
| 305 |
is_output_type, |
| 306 |
is_leaf_type, |
| 307 |
is_composite_type, |
| 308 |
is_abstract_type, |
| 309 |
is_wrapping_type, |
| 310 |
is_nullable_type, |
| 311 |
is_named_type, |
| 312 |
is_required_argument, |
| 313 |
is_required_input_field, |
| 314 |
is_specified_scalar_type, |
| 315 |
is_introspection_type, |
| 316 |
is_specified_directive, |
| 317 |
# Assertions |
| 318 |
assert_schema, |
| 319 |
assert_directive, |
| 320 |
assert_type, |
| 321 |
assert_scalar_type, |
| 322 |
assert_object_type, |
| 323 |
assert_interface_type, |
| 324 |
assert_union_type, |
| 325 |
assert_enum_type, |
| 326 |
assert_input_object_type, |
| 327 |
assert_list_type, |
| 328 |
assert_non_null_type, |
| 329 |
assert_input_type, |
| 330 |
assert_output_type, |
| 331 |
assert_leaf_type, |
| 332 |
assert_composite_type, |
| 333 |
assert_abstract_type, |
| 334 |
assert_wrapping_type, |
| 335 |
assert_nullable_type, |
| 336 |
assert_named_type, |
| 337 |
# Un-modifiers |
| 338 |
get_nullable_type, |
| 339 |
get_named_type, |
| 340 |
# Thunk handling |
| 341 |
resolve_thunk, |
| 342 |
# Validate GraphQL schema. |
| 343 |
validate_schema, |
| 344 |
assert_valid_schema, |
| 345 |
# Uphold the spec rules about naming |
| 346 |
assert_name, |
| 347 |
assert_enum_value_name, |
| 348 |
# Types |
| 349 |
GraphQLType, |
| 350 |
GraphQLInputType, |
| 351 |
GraphQLOutputType, |
| 352 |
GraphQLLeafType, |
| 353 |
GraphQLCompositeType, |
| 354 |
GraphQLAbstractType, |
| 355 |
GraphQLWrappingType, |
| 356 |
GraphQLNullableType, |
| 357 |
GraphQLNamedType, |
| 358 |
GraphQLNamedInputType, |
| 359 |
GraphQLNamedOutputType, |
| 360 |
Thunk, |
| 361 |
ThunkCollection, |
| 362 |
ThunkMapping, |
| 363 |
GraphQLArgument, |
| 364 |
GraphQLArgumentMap, |
| 365 |
GraphQLEnumValue, |
| 366 |
GraphQLEnumValueMap, |
| 367 |
GraphQLEnumValuesDefinition, |
| 368 |
GraphQLField, |
| 369 |
GraphQLFieldMap, |
| 370 |
GraphQLFieldResolver, |
| 371 |
GraphQLInputField, |
| 372 |
GraphQLInputFieldMap, |
| 373 |
GraphQLScalarSerializer, |
| 374 |
GraphQLScalarValueParser, |
| 375 |
GraphQLScalarLiteralParser, |
| 376 |
GraphQLIsTypeOfFn, |
| 377 |
GraphQLResolveInfo, |
| 378 |
ResponsePath, |
| 379 |
GraphQLTypeResolver, |
| 380 |
# Keyword args |
| 381 |
GraphQLArgumentKwargs, |
| 382 |
GraphQLDirectiveKwargs, |
| 383 |
GraphQLEnumTypeKwargs, |
| 384 |
GraphQLEnumValueKwargs, |
| 385 |
GraphQLFieldKwargs, |
| 386 |
GraphQLInputFieldKwargs, |
| 387 |
GraphQLInputObjectTypeKwargs, |
| 388 |
GraphQLInterfaceTypeKwargs, |
| 389 |
GraphQLNamedTypeKwargs, |
| 390 |
GraphQLObjectTypeKwargs, |
| 391 |
GraphQLScalarTypeKwargs, |
| 392 |
GraphQLSchemaKwargs, |
| 393 |
GraphQLUnionTypeKwargs, |
| 394 |
) |
| 395 |
|
| 396 |
# Validate GraphQL queries. |
| 397 |
from .validation import ( |
| 398 |
validate, |
| 399 |
ValidationContext, |
| 400 |
ValidationRule, |
| 401 |
ASTValidationRule, |
| 402 |
SDLValidationRule, |
| 403 |
# All validation rules in the GraphQL Specification. |
| 404 |
specified_rules, |
| 405 |
recommended_rules, |
| 406 |
# Individual validation rules. |
| 407 |
ExecutableDefinitionsRule, |
| 408 |
FieldsOnCorrectTypeRule, |
| 409 |
FragmentsOnCompositeTypesRule, |
| 410 |
KnownArgumentNamesRule, |
| 411 |
KnownDirectivesRule, |
| 412 |
KnownFragmentNamesRule, |
| 413 |
KnownTypeNamesRule, |
| 414 |
LoneAnonymousOperationRule, |
| 415 |
NoFragmentCyclesRule, |
| 416 |
NoUndefinedVariablesRule, |
| 417 |
NoUnusedFragmentsRule, |
| 418 |
NoUnusedVariablesRule, |
| 419 |
OverlappingFieldsCanBeMergedRule, |
| 420 |
PossibleFragmentSpreadsRule, |
| 421 |
ProvidedRequiredArgumentsRule, |
| 422 |
ScalarLeafsRule, |
| 423 |
SingleFieldSubscriptionsRule, |
| 424 |
UniqueArgumentNamesRule, |
| 425 |
UniqueDirectivesPerLocationRule, |
| 426 |
UniqueFragmentNamesRule, |
| 427 |
UniqueInputFieldNamesRule, |
| 428 |
UniqueOperationNamesRule, |
| 429 |
UniqueVariableNamesRule, |
| 430 |
ValuesOfCorrectTypeRule, |
| 431 |
VariablesAreInputTypesRule, |
| 432 |
VariablesInAllowedPositionRule, |
| 433 |
# SDL-specific validation rules |
| 434 |
LoneSchemaDefinitionRule, |
| 435 |
UniqueOperationTypesRule, |
| 436 |
UniqueTypeNamesRule, |
| 437 |
UniqueEnumValueNamesRule, |
| 438 |
UniqueFieldDefinitionNamesRule, |
| 439 |
UniqueArgumentDefinitionNamesRule, |
| 440 |
UniqueDirectiveNamesRule, |
| 441 |
PossibleTypeExtensionsRule, |
| 442 |
# Custom validation rules |
| 443 |
NoDeprecatedCustomRule, |
| 444 |
NoSchemaIntrospectionCustomRule, |
| 445 |
# Recommended validation rules |
| 446 |
MaxIntrospectionDepthRule, |
| 447 |
) |
| 448 |
|
| 449 |
# Execute GraphQL documents. |
| 450 |
from .execution import ( |
| 451 |
execute, |
| 452 |
execute_sync, |
| 453 |
default_field_resolver, |
| 454 |
default_type_resolver, |
| 455 |
get_argument_values, |
| 456 |
get_directive_values, |
| 457 |
get_variable_values, |
| 458 |
# Types |
| 459 |
ExecutionContext, |
| 460 |
ExecutionResult, |
| 461 |
FormattedExecutionResult, |
| 462 |
# Subscription |
| 463 |
subscribe, |
| 464 |
create_source_event_stream, |
| 465 |
MapAsyncIterator, |
| 466 |
# Middleware |
| 467 |
Middleware, |
| 468 |
MiddlewareManager, |
| 469 |
) |
| 470 |
|
| 471 |
# The primary entry point into fulfilling a GraphQL request. |
| 472 |
from .graphql import graphql, graphql_sync |
| 473 |
|
| 474 |
INVALID = Undefined # deprecated alias |
| 475 |
|
| 476 |
# The GraphQL-core version info. |
| 477 |
__version__ = version |
| 478 |
__version_info__ = version_info |
| 479 |
|
| 480 |
# The GraphQL.js version info. |
| 481 |
__version_js__ = version_js |
| 482 |
__version_info_js__ = version_info_js |
| 483 |
|
| 484 |
|
| 485 |
__all__ = [ |
| 486 |
"version", |
| 487 |
"version_info", |
| 488 |
"version_js", |
| 489 |
"version_info_js", |
| 490 |
"graphql", |
| 491 |
"graphql_sync", |
| 492 |
"GraphQLSchema", |
| 493 |
"GraphQLDirective", |
| 494 |
"GraphQLScalarType", |
| 495 |
"GraphQLObjectType", |
| 496 |
"GraphQLInterfaceType", |
| 497 |
"GraphQLUnionType", |
| 498 |
"GraphQLEnumType", |
| 499 |
"GraphQLInputObjectType", |
| 500 |
"GraphQLList", |
| 501 |
"GraphQLNonNull", |
| 502 |
"specified_scalar_types", |
| 503 |
"GraphQLInt", |
| 504 |
"GraphQLFloat", |
| 505 |
"GraphQLString", |
| 506 |
"GraphQLBoolean", |
| 507 |
"GraphQLID", |
| 508 |
"GRAPHQL_MAX_INT", |
| 509 |
"GRAPHQL_MIN_INT", |
| 510 |
"specified_directives", |
| 511 |
"GraphQLIncludeDirective", |
| 512 |
"GraphQLSkipDirective", |
| 513 |
"GraphQLDeprecatedDirective", |
| 514 |
"GraphQLSpecifiedByDirective", |
| 515 |
"GraphQLOneOfDirective", |
| 516 |
"TypeKind", |
| 517 |
"DEFAULT_DEPRECATION_REASON", |
| 518 |
"introspection_types", |
| 519 |
"SchemaMetaFieldDef", |
| 520 |
"TypeMetaFieldDef", |
| 521 |
"TypeNameMetaFieldDef", |
| 522 |
"is_schema", |
| 523 |
"is_directive", |
| 524 |
"is_type", |
| 525 |
"is_scalar_type", |
| 526 |
"is_object_type", |
| 527 |
"is_interface_type", |
| 528 |
"is_union_type", |
| 529 |
"is_enum_type", |
| 530 |
"is_input_object_type", |
| 531 |
"is_list_type", |
| 532 |
"is_non_null_type", |
| 533 |
"is_input_type", |
| 534 |
"is_output_type", |
| 535 |
"is_leaf_type", |
| 536 |
"is_composite_type", |
| 537 |
"is_abstract_type", |
| 538 |
"is_wrapping_type", |
| 539 |
"is_nullable_type", |
| 540 |
"is_named_type", |
| 541 |
"is_required_argument", |
| 542 |
"is_required_input_field", |
| 543 |
"is_specified_scalar_type", |
| 544 |
"is_introspection_type", |
| 545 |
"is_specified_directive", |
| 546 |
"assert_schema", |
| 547 |
"assert_directive", |
| 548 |
"assert_type", |
| 549 |
"assert_scalar_type", |
| 550 |
"assert_object_type", |
| 551 |
"assert_interface_type", |
| 552 |
"assert_union_type", |
| 553 |
"assert_enum_type", |
| 554 |
"assert_input_object_type", |
| 555 |
"assert_list_type", |
| 556 |
"assert_non_null_type", |
| 557 |
"assert_input_type", |
| 558 |
"assert_output_type", |
| 559 |
"assert_leaf_type", |
| 560 |
"assert_composite_type", |
| 561 |
"assert_abstract_type", |
| 562 |
"assert_wrapping_type", |
| 563 |
"assert_nullable_type", |
| 564 |
"assert_named_type", |
| 565 |
"get_nullable_type", |
| 566 |
"get_named_type", |
| 567 |
"resolve_thunk", |
| 568 |
"validate_schema", |
| 569 |
"assert_valid_schema", |
| 570 |
"assert_name", |
| 571 |
"assert_enum_value_name", |
| 572 |
"GraphQLType", |
| 573 |
"GraphQLInputType", |
| 574 |
"GraphQLOutputType", |
| 575 |
"GraphQLLeafType", |
| 576 |
"GraphQLCompositeType", |
| 577 |
"GraphQLAbstractType", |
| 578 |
"GraphQLWrappingType", |
| 579 |
"GraphQLNullableType", |
| 580 |
"GraphQLNamedType", |
| 581 |
"GraphQLNamedInputType", |
| 582 |
"GraphQLNamedOutputType", |
| 583 |
"Thunk", |
| 584 |
"ThunkCollection", |
| 585 |
"ThunkMapping", |
| 586 |
"GraphQLArgument", |
| 587 |
"GraphQLArgumentMap", |
| 588 |
"GraphQLEnumValue", |
| 589 |
"GraphQLEnumValueMap", |
| 590 |
"GraphQLEnumValuesDefinition", |
| 591 |
"GraphQLField", |
| 592 |
"GraphQLFieldMap", |
| 593 |
"GraphQLFieldResolver", |
| 594 |
"GraphQLInputField", |
| 595 |
"GraphQLInputFieldMap", |
| 596 |
"GraphQLScalarSerializer", |
| 597 |
"GraphQLScalarValueParser", |
| 598 |
"GraphQLScalarLiteralParser", |
| 599 |
"GraphQLIsTypeOfFn", |
| 600 |
"GraphQLResolveInfo", |
| 601 |
"ResponsePath", |
| 602 |
"GraphQLTypeResolver", |
| 603 |
"GraphQLArgumentKwargs", |
| 604 |
"GraphQLDirectiveKwargs", |
| 605 |
"GraphQLEnumTypeKwargs", |
| 606 |
"GraphQLEnumValueKwargs", |
| 607 |
"GraphQLFieldKwargs", |
| 608 |
"GraphQLInputFieldKwargs", |
| 609 |
"GraphQLInputObjectTypeKwargs", |
| 610 |
"GraphQLInterfaceTypeKwargs", |
| 611 |
"GraphQLNamedTypeKwargs", |
| 612 |
"GraphQLObjectTypeKwargs", |
| 613 |
"GraphQLScalarTypeKwargs", |
| 614 |
"GraphQLSchemaKwargs", |
| 615 |
"GraphQLUnionTypeKwargs", |
| 616 |
"Source", |
| 617 |
"get_location", |
| 618 |
"print_location", |
| 619 |
"print_source_location", |
| 620 |
"Lexer", |
| 621 |
"TokenKind", |
| 622 |
"parse", |
| 623 |
"parse_value", |
| 624 |
"parse_const_value", |
| 625 |
"parse_type", |
| 626 |
"parse_schema_coordinate", |
| 627 |
"print_ast", |
| 628 |
"visit", |
| 629 |
"ParallelVisitor", |
| 630 |
"TypeInfoVisitor", |
| 631 |
"Visitor", |
| 632 |
"VisitorAction", |
| 633 |
"VisitorKeyMap", |
| 634 |
"BREAK", |
| 635 |
"SKIP", |
| 636 |
"REMOVE", |
| 637 |
"IDLE", |
| 638 |
"DirectiveLocation", |
| 639 |
"is_definition_node", |
| 640 |
"is_executable_definition_node", |
| 641 |
"is_selection_node", |
| 642 |
"is_value_node", |
| 643 |
"is_const_value_node", |
| 644 |
"is_type_node", |
| 645 |
"is_type_system_definition_node", |
| 646 |
"is_type_definition_node", |
| 647 |
"is_type_system_extension_node", |
| 648 |
"is_type_extension_node", |
| 649 |
"is_schema_coordinate_node", |
| 650 |
"SourceLocation", |
| 651 |
"Location", |
| 652 |
"Token", |
| 653 |
"Node", |
| 654 |
"NameNode", |
| 655 |
"DocumentNode", |
| 656 |
"DefinitionNode", |
| 657 |
"ExecutableDefinitionNode", |
| 658 |
"OperationDefinitionNode", |
| 659 |
"OperationType", |
| 660 |
"VariableDefinitionNode", |
| 661 |
"VariableNode", |
| 662 |
"SelectionSetNode", |
| 663 |
"SelectionNode", |
| 664 |
"FieldNode", |
| 665 |
"ArgumentNode", |
| 666 |
"ConstArgumentNode", |
| 667 |
"FragmentSpreadNode", |
| 668 |
"InlineFragmentNode", |
| 669 |
"FragmentDefinitionNode", |
| 670 |
"ValueNode", |
| 671 |
"ConstValueNode", |
| 672 |
"IntValueNode", |
| 673 |
"FloatValueNode", |
| 674 |
"StringValueNode", |
| 675 |
"BooleanValueNode", |
| 676 |
"NullValueNode", |
| 677 |
"EnumValueNode", |
| 678 |
"ListValueNode", |
| 679 |
"ConstListValueNode", |
| 680 |
"ObjectValueNode", |
| 681 |
"ConstObjectValueNode", |
| 682 |
"ObjectFieldNode", |
| 683 |
"ConstObjectFieldNode", |
| 684 |
"DirectiveNode", |
| 685 |
"ConstDirectiveNode", |
| 686 |
"TypeNode", |
| 687 |
"NamedTypeNode", |
| 688 |
"ListTypeNode", |
| 689 |
"NonNullTypeNode", |
| 690 |
"TypeSystemDefinitionNode", |
| 691 |
"SchemaDefinitionNode", |
| 692 |
"OperationTypeDefinitionNode", |
| 693 |
"TypeDefinitionNode", |
| 694 |
"ScalarTypeDefinitionNode", |
| 695 |
"ObjectTypeDefinitionNode", |
| 696 |
"FieldDefinitionNode", |
| 697 |
"InputValueDefinitionNode", |
| 698 |
"InterfaceTypeDefinitionNode", |
| 699 |
"UnionTypeDefinitionNode", |
| 700 |
"EnumTypeDefinitionNode", |
| 701 |
"EnumValueDefinitionNode", |
| 702 |
"InputObjectTypeDefinitionNode", |
| 703 |
"DirectiveDefinitionNode", |
| 704 |
"TypeSystemExtensionNode", |
| 705 |
"SchemaExtensionNode", |
| 706 |
"TypeExtensionNode", |
| 707 |
"ScalarTypeExtensionNode", |
| 708 |
"ObjectTypeExtensionNode", |
| 709 |
"InterfaceTypeExtensionNode", |
| 710 |
"UnionTypeExtensionNode", |
| 711 |
"EnumTypeExtensionNode", |
| 712 |
"InputObjectTypeExtensionNode", |
| 713 |
"DirectiveExtensionNode", |
| 714 |
"SchemaCoordinateNode", |
| 715 |
"TypeCoordinateNode", |
| 716 |
"MemberCoordinateNode", |
| 717 |
"ArgumentCoordinateNode", |
| 718 |
"DirectiveCoordinateNode", |
| 719 |
"DirectiveArgumentCoordinateNode", |
| 720 |
"execute", |
| 721 |
"execute_sync", |
| 722 |
"default_field_resolver", |
| 723 |
"default_type_resolver", |
| 724 |
"get_argument_values", |
| 725 |
"get_directive_values", |
| 726 |
"get_variable_values", |
| 727 |
"ExecutionContext", |
| 728 |
"ExecutionResult", |
| 729 |
"FormattedExecutionResult", |
| 730 |
"Middleware", |
| 731 |
"MiddlewareManager", |
| 732 |
"subscribe", |
| 733 |
"create_source_event_stream", |
| 734 |
"MapAsyncIterator", |
| 735 |
"validate", |
| 736 |
"ValidationContext", |
| 737 |
"ValidationRule", |
| 738 |
"ASTValidationRule", |
| 739 |
"SDLValidationRule", |
| 740 |
"specified_rules", |
| 741 |
"recommended_rules", |
| 742 |
"ExecutableDefinitionsRule", |
| 743 |
"FieldsOnCorrectTypeRule", |
| 744 |
"FragmentsOnCompositeTypesRule", |
| 745 |
"KnownArgumentNamesRule", |
| 746 |
"KnownDirectivesRule", |
| 747 |
"KnownFragmentNamesRule", |
| 748 |
"KnownTypeNamesRule", |
| 749 |
"LoneAnonymousOperationRule", |
| 750 |
"NoFragmentCyclesRule", |
| 751 |
"NoUndefinedVariablesRule", |
| 752 |
"NoUnusedFragmentsRule", |
| 753 |
"NoUnusedVariablesRule", |
| 754 |
"OverlappingFieldsCanBeMergedRule", |
| 755 |
"PossibleFragmentSpreadsRule", |
| 756 |
"ProvidedRequiredArgumentsRule", |
| 757 |
"ScalarLeafsRule", |
| 758 |
"SingleFieldSubscriptionsRule", |
| 759 |
"UniqueArgumentNamesRule", |
| 760 |
"UniqueDirectivesPerLocationRule", |
| 761 |
"UniqueFragmentNamesRule", |
| 762 |
"UniqueInputFieldNamesRule", |
| 763 |
"UniqueOperationNamesRule", |
| 764 |
"UniqueVariableNamesRule", |
| 765 |
"ValuesOfCorrectTypeRule", |
| 766 |
"VariablesAreInputTypesRule", |
| 767 |
"VariablesInAllowedPositionRule", |
| 768 |
"LoneSchemaDefinitionRule", |
| 769 |
"UniqueOperationTypesRule", |
| 770 |
"UniqueTypeNamesRule", |
| 771 |
"UniqueEnumValueNamesRule", |
| 772 |
"UniqueFieldDefinitionNamesRule", |
| 773 |
"UniqueArgumentDefinitionNamesRule", |
| 774 |
"UniqueDirectiveNamesRule", |
| 775 |
"PossibleTypeExtensionsRule", |
| 776 |
"NoDeprecatedCustomRule", |
| 777 |
"NoSchemaIntrospectionCustomRule", |
| 778 |
"MaxIntrospectionDepthRule", |
| 779 |
"GraphQLError", |
| 780 |
"GraphQLErrorExtensions", |
| 781 |
"GraphQLFormattedError", |
| 782 |
"GraphQLFormattedErrorExtensions", |
| 783 |
"GraphQLSyntaxError", |
| 784 |
"located_error", |
| 785 |
"get_introspection_query", |
| 786 |
"IntrospectionQuery", |
| 787 |
"get_operation_ast", |
| 788 |
"get_operation_root_type", |
| 789 |
"introspection_from_schema", |
| 790 |
"build_client_schema", |
| 791 |
"build_ast_schema", |
| 792 |
"build_schema", |
| 793 |
"extend_schema", |
| 794 |
"lexicographic_sort_schema", |
| 795 |
"print_schema", |
| 796 |
"print_type", |
| 797 |
"print_introspection_schema", |
| 798 |
"type_from_ast", |
| 799 |
"value_from_ast", |
| 800 |
"value_from_ast_untyped", |
| 801 |
"ast_from_value", |
| 802 |
"ast_to_dict", |
| 803 |
"TypeInfo", |
| 804 |
"coerce_input_value", |
| 805 |
"concat_ast", |
| 806 |
"separate_operations", |
| 807 |
"strip_ignored_characters", |
| 808 |
"is_equal_type", |
| 809 |
"is_type_sub_type_of", |
| 810 |
"do_types_overlap", |
| 811 |
"assert_valid_name", |
| 812 |
"is_valid_name_error", |
| 813 |
"find_breaking_changes", |
| 814 |
"find_dangerous_changes", |
| 815 |
"BreakingChange", |
| 816 |
"BreakingChangeType", |
| 817 |
"DangerousChange", |
| 818 |
"DangerousChangeType", |
| 819 |
"resolve_schema_coordinate", |
| 820 |
"resolve_ast_schema_coordinate", |
| 821 |
"ResolvedNamedType", |
| 822 |
"ResolvedField", |
| 823 |
"ResolvedInputField", |
| 824 |
"ResolvedEnumValue", |
| 825 |
"ResolvedFieldArgument", |
| 826 |
"ResolvedDirective", |
| 827 |
"ResolvedDirectiveArgument", |
| 828 |
"ResolvedSchemaElement", |
| 829 |
"Undefined", |
| 830 |
"UndefinedType", |
| 831 |
] |