graphql-core 3.3.0a6__tar.gz → 3.3.0a7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/.bumpversion.cfg +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/PKG-INFO +38 -34
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/README.md +33 -30
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/conf.py +30 -7
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/modules/pyutils.rst +4 -0
- graphql_core-3.3.0a7/docs/requirements.txt +2 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/poetry.lock +769 -224
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/pyproject.toml +30 -16
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/__init__.py +289 -287
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/execution/async_iterables.py +5 -2
- graphql_core-3.3.0a7/src/graphql/execution/collect_fields.py +470 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/execution/execute.py +514 -477
- graphql_core-3.3.0a7/src/graphql/execution/incremental_publisher.py +1317 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/execution/middleware.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/execution/values.py +24 -11
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/ast.py +70 -70
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/block_string.py +1 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/character_classes.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/lexer.py +3 -3
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/location.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/parser.py +4 -3
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/source.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/visitor.py +6 -6
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/__init__.py +20 -16
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/async_reduce.py +4 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/description.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/format_list.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/is_awaitable.py +4 -2
- graphql_core-3.3.0a7/src/graphql/pyutils/ref_map.py +79 -0
- graphql_core-3.3.0a7/src/graphql/pyutils/ref_set.py +67 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/suggestion_list.py +1 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/type/__init__.py +109 -107
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/type/assert_name.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/type/definition.py +57 -53
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/type/directives.py +21 -11
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/type/introspection.py +6 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/type/scalars.py +8 -8
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/type/schema.py +18 -6
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/type/validate.py +25 -4
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/ast_to_dict.py +1 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/coerce_input_value.py +24 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/extend_schema.py +16 -3
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/find_breaking_changes.py +4 -7
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/get_introspection_query.py +9 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/type_comparators.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/value_from_ast.py +8 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/defer_stream_directive_on_valid_operations_rule.py +2 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/known_argument_names.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/overlapping_fields_can_be_merged.py +1 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/provided_required_arguments.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/single_field_subscriptions.py +13 -13
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_field_definition_names.py +1 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/values_of_correct_type.py +70 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/validate.py +7 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/version.py +3 -3
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_visit.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/error/test_graphql_error.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_abstract.py +4 -3
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_customize.py +27 -6
- graphql_core-3.3.0a7/tests/execution/test_defer.py +2325 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_execution_result.py +7 -6
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_executor.py +5 -4
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_lists.py +16 -14
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_map_async_iterable.py +16 -15
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_middleware.py +4 -3
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_mutations.py +20 -25
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_nonnull.py +11 -10
- graphql_core-3.3.0a7/tests/execution/test_oneof.py +151 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_parallel.py +6 -5
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_resolve.py +87 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_schema.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_stream.py +469 -461
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_subscribe.py +28 -27
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_sync.py +8 -7
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/fixtures/schema_kitchen_sink.graphql +6 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_block_string_fuzz.py +2 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_lexer.py +2 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_parser.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_printer.py +2 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_schema_parser.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_schema_printer.py +7 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_source.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_visitor.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_async_reduce.py +5 -4
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_description.py +2 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_format_list.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_inspect.py +2 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_is_awaitable.py +4 -3
- graphql_core-3.3.0a7/tests/pyutils/test_ref_map.py +124 -0
- graphql_core-3.3.0a7/tests/pyutils/test_ref_set.py +89 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_simple_pub_sub.py +5 -4
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_undefined.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/star_wars_schema.py +4 -7
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/test_star_wars_query.py +19 -18
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/test_user_registry.py +7 -6
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/test_assert_name.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/test_definition.py +2 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/test_directives.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/test_extensions.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/test_introspection.py +120 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/test_predicate.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/test_scalars.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/test_schema.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/test_validation.py +45 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_ast_from_value.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_build_ast_schema.py +33 -7
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_build_client_schema.py +8 -7
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_coerce_input_value.py +94 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_extend_schema.py +2 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_find_breaking_changes.py +3 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_introspection_from_schema.py +2 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_print_schema.py +8 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_strip_ignored_characters.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_strip_ignored_characters_fuzz.py +11 -10
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_type_from_ast.py +1 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_type_info.py +1 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_value_from_ast.py +17 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utils/test_assert_equal_awaitables_or_values.py +3 -3
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/harness.py +8 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_validation.py +2 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_values_of_correct_type.py +94 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tox.ini +13 -12
- graphql_core-3.3.0a6/docs/requirements.txt +0 -2
- graphql_core-3.3.0a6/src/graphql/execution/collect_fields.py +0 -307
- graphql_core-3.3.0a6/src/graphql/execution/incremental_publisher.py +0 -706
- graphql_core-3.3.0a6/tests/execution/test_defer.py +0 -959
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/.editorconfig +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/.readthedocs.yaml +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/CODEOWNERS +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/LICENSE +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/SECURITY.md +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/Makefile +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/diffs.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/index.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/intro.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/make.bat +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/modules/error.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/modules/execution.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/modules/graphql.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/modules/language.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/modules/type.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/modules/utilities.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/modules/validation.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/usage/extension.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/usage/index.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/usage/introspection.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/usage/methods.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/usage/other.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/usage/parser.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/usage/queries.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/usage/resolvers.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/usage/schema.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/usage/sdl.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/docs/usage/validator.rst +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/error/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/error/graphql_error.py +5 -5
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/error/located_error.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/error/syntax_error.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/execution/__init__.py +21 -21
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/graphql.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/__init__.py +76 -76
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/directive_locations.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/predicates.py +4 -4
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/print_location.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/print_string.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/printer.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/language/token_kind.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/py.typed +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/awaitable_or_value.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/cached_property.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/convert_case.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/did_you_mean.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/frozen_error.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/group_by.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/identity_func.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/inspect.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/is_iterable.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/merge_kwargs.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/natural_compare.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/path.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/print_path_list.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/simple_pub_sub.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/pyutils/undefined.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/__init__.py +3 -3
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/ast_from_value.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/build_ast_schema.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/build_client_schema.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/concat_ast.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/get_operation_ast.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/introspection_from_schema.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/lexicographic_sort_schema.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/print_schema.py +2 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/separate_operations.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/sort_value_node.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/strip_ignored_characters.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/type_from_ast.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/type_info.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/utilities/value_from_ast_untyped.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/__init__.py +16 -16
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/custom/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/custom/no_deprecated.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/custom/no_schema_introspection.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/defer_stream_directive_label.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/defer_stream_directive_on_root_field.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/executable_definitions.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/fields_on_correct_type.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/fragments_on_composite_types.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/known_directives.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/known_fragment_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/known_type_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/lone_anonymous_operation.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/lone_schema_definition.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/no_fragment_cycles.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/no_undefined_variables.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/no_unused_fragments.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/no_unused_variables.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/possible_fragment_spreads.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/possible_type_extensions.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/scalar_leafs.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/stream_directive_on_list_field.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_argument_definition_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_argument_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_directive_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_directives_per_location.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_enum_value_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_fragment_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_input_field_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_operation_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_operation_types.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_type_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/unique_variable_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/variables_are_input_types.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/rules/variables_in_allowed_position.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/specified_rules.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/src/graphql/validation/validation_context.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_async_iterable.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_build_ast_schema.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_build_client_schema.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_execution_async.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_execution_sync.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_graphql_schema.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_introspection_from_schema.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_parser.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_repeated_fields.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_validate_gql.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_validate_invalid_gql.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/benchmarks/test_validate_sdl.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/conftest.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/error/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/error/test_located_error.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/error/test_print_location.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_directives.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_union_interface.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/execution/test_variables.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/fixtures/__init__.py +2 -2
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/fixtures/github_schema.graphql +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/fixtures/github_schema.json +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/fixtures/kitchen_sink.graphql +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_ast.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_block_string.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_character_classes.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_location.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_predicates.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/language/test_print_string.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_cached_property.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_convert_case.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_did_you_mean.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_frozen_error.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_group_by.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_identity_func.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_is_iterable.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_merge_kwargs.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_natural_compare.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_path.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_print_path_list.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/pyutils/test_suggestion_list.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/star_wars_data.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/test_docs.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/test_star_wars_introspection.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/test_star_wars_validation.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/test_version.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/test_custom_scalars.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/type/test_enum.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_ast_to_dict.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_concat_ast.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_get_introspection_query.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_get_operation_ast.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_lexicographic_sort_schema.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_separate_operations.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_sort_value_node.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_type_comparators.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utilities/test_value_from_ast_untyped.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utils/__init__.py +1 -1
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utils/assert_equal_awaitables_or_values.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utils/assert_matching_values.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utils/dedent.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utils/gen_fuzz_strings.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utils/test_assert_matching_values.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utils/test_dedent.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utils/test_gen_fuzz_strings.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utils/viral_schema.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/utils/viral_sdl.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/__init__.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_defer_stream_directive_label.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_defer_stream_directive_on_root_field.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_defer_stream_directive_on_valid_operations.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_executable_definitions.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_fields_on_correct_type.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_fragments_on_composite_types.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_known_argument_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_known_directives.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_known_fragment_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_known_type_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_lone_anonymous_operation.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_lone_schema_definition.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_no_deprecated.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_no_fragment_cycles.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_no_schema_introspection.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_no_undefined_variables.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_no_unused_fragments.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_no_unused_variables.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_overlapping_fields_can_be_merged.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_possible_fragment_spreads.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_possible_type_extensions.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_provided_required_arguments.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_scalar_leafs.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_single_field_subscriptions.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_stream_directive_on_list_field.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_argument_definition_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_argument_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_directive_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_directives_per_location.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_enum_value_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_field_definition_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_fragment_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_input_field_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_operation_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_operation_types.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_type_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_unique_variable_names.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_variables_are_input_types.py +0 -0
- {graphql_core-3.3.0a6 → graphql_core-3.3.0a7}/tests/validation/test_variables_in_allowed_position.py +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: graphql-core
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.0a7
|
|
4
4
|
Summary: GraphQL-core is a Python port of GraphQL.js,the JavaScript reference implementation for GraphQL.
|
|
5
|
-
Home-page: https://github.com/graphql-python/graphql-core
|
|
6
5
|
License: MIT
|
|
7
6
|
Keywords: graphql
|
|
8
7
|
Author: Christoph Zwerschke
|
|
@@ -18,10 +17,12 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
-
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Requires-Dist: typing-extensions (>=4.12.2,<5.0.0) ; python_version >= "3.8" and python_version < "3.10"
|
|
22
22
|
Requires-Dist: typing-extensions (>=4.7.1,<5.0.0) ; python_version < "3.8"
|
|
23
23
|
Project-URL: Changelog, https://github.com/graphql-python/graphql-core/releases
|
|
24
24
|
Project-URL: Documentation, https://graphql-core-3.readthedocs.io/
|
|
25
|
+
Project-URL: Homepage, https://github.com/graphql-python/graphql-core
|
|
25
26
|
Project-URL: Repository, https://github.com/graphql-python/graphql-core
|
|
26
27
|
Description-Content-Type: text/markdown
|
|
27
28
|
|
|
@@ -33,19 +34,20 @@ a query language for APIs created by Facebook.
|
|
|
33
34
|
|
|
34
35
|
[](https://badge.fury.io/py/graphql-core)
|
|
35
36
|
[](https://graphql-core-3.readthedocs.io)
|
|
36
|
-

|
|
37
|
-

|
|
38
|
-
[](https://github.com/graphql-python/graphql-core/actions/workflows/test.yml)
|
|
38
|
+
[](https://github.com/graphql-python/graphql-core/actions/workflows/lint.yml)
|
|
39
|
+
[](https://codspeed.io/graphql-python/graphql-core)
|
|
40
|
+
[](https://github.com/astral-sh/ruff)
|
|
39
41
|
|
|
40
|
-
An extensive test suite with over
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
An extensive test suite with over 2500 unit tests and 100% coverage replicates the
|
|
43
|
+
complete test suite of GraphQL.js, ensuring that this port is reliable and compatible
|
|
44
|
+
with GraphQL.js.
|
|
43
45
|
|
|
44
|
-
The current stable version 3.2.
|
|
45
|
-
version 16.
|
|
46
|
+
The current stable version 3.2.6 of GraphQL-core is up-to-date with GraphQL.js
|
|
47
|
+
version 16.8.2 and supports Python versions 3.6 to 3.13.
|
|
46
48
|
|
|
47
|
-
You can also try out the latest alpha version 3.3.
|
|
48
|
-
which is up-to-date with GraphQL.js version 17.0.
|
|
49
|
+
You can also try out the latest alpha version 3.3.0a7 of GraphQL-core,
|
|
50
|
+
which is up-to-date with GraphQL.js version 17.0.0a3.
|
|
49
51
|
Please note that this new minor version of GraphQL-core does not support
|
|
50
52
|
Python 3.6 anymore.
|
|
51
53
|
|
|
@@ -53,13 +55,12 @@ Note that for various reasons, GraphQL-core does not use SemVer like GraphQL.js.
|
|
|
53
55
|
Changes in the major version of GraphQL.js are reflected in the minor version of
|
|
54
56
|
GraphQL-core instead. This means there can be breaking changes in the API
|
|
55
57
|
when the minor version changes, and only patch releases are fully backward compatible.
|
|
56
|
-
Therefore, we recommend something like
|
|
58
|
+
Therefore, we recommend using something like `~= 3.2.0` as the version specifier
|
|
57
59
|
when including GraphQL-core as a dependency.
|
|
58
60
|
|
|
59
|
-
|
|
60
61
|
## Documentation
|
|
61
62
|
|
|
62
|
-
|
|
63
|
+
More detailed documentation for GraphQL-core 3 can be found at
|
|
63
64
|
[graphql-core-3.readthedocs.io](https://graphql-core-3.readthedocs.io/).
|
|
64
65
|
|
|
65
66
|
The documentation for GraphQL.js can be found at [graphql.org/graphql-js/](https://graphql.org/graphql-js/).
|
|
@@ -74,10 +75,10 @@ examples.
|
|
|
74
75
|
|
|
75
76
|
A general overview of GraphQL is available in the
|
|
76
77
|
[README](https://github.com/graphql/graphql-spec/blob/main/README.md) for the
|
|
77
|
-
[Specification for GraphQL](https://github.com/graphql/graphql-spec).
|
|
78
|
-
|
|
79
|
-
repository. A good way to get started with this repository is to walk through
|
|
80
|
-
README and the corresponding tests in parallel.
|
|
78
|
+
[Specification for GraphQL](https://github.com/graphql/graphql-spec). This overview
|
|
79
|
+
includes a simple set of GraphQL examples that are also available as [tests](tests)
|
|
80
|
+
in this repository. A good way to get started with this repository is to walk through
|
|
81
|
+
that README and the corresponding tests in parallel.
|
|
81
82
|
|
|
82
83
|
|
|
83
84
|
## Installation
|
|
@@ -201,17 +202,17 @@ asyncio.run(main())
|
|
|
201
202
|
|
|
202
203
|
## Goals and restrictions
|
|
203
204
|
|
|
204
|
-
GraphQL-core
|
|
205
|
-
in Python as closely as possible
|
|
206
|
-
GraphQL.js.
|
|
205
|
+
GraphQL-core aims to reproduce the code of the reference implementation GraphQL.js
|
|
206
|
+
in Python as closely as possible while staying up-to-date with the latest development
|
|
207
|
+
of GraphQL.js.
|
|
207
208
|
|
|
208
|
-
GraphQL-core 3 (formerly known as GraphQL-core-next)
|
|
209
|
+
GraphQL-core 3 (formerly known as GraphQL-core-next) was created as a modern
|
|
209
210
|
alternative to [GraphQL-core 2](https://github.com/graphql-python/graphql-core-legacy),
|
|
210
|
-
a prior work by Syrus Akbary
|
|
211
|
-
|
|
212
|
-
GraphQL-core 2 or directly taken over with
|
|
213
|
-
|
|
214
|
-
|
|
211
|
+
a prior work by Syrus Akbary based on an older version of GraphQL.js that still
|
|
212
|
+
supported legacy Python versions. While some parts of GraphQL-core 3 were inspired by
|
|
213
|
+
GraphQL-core 2 or directly taken over with slight modifications, most of the code has
|
|
214
|
+
been re-implemented from scratch. This re-implementation closely replicates the latest
|
|
215
|
+
code in GraphQL.js and adds type hints for Python.
|
|
215
216
|
|
|
216
217
|
Design goals for the GraphQL-core 3 library were:
|
|
217
218
|
|
|
@@ -235,6 +236,10 @@ Some restrictions (mostly in line with the design goals):
|
|
|
235
236
|
* supports asynchronous operations only via async.io
|
|
236
237
|
(does not support the additional executors in GraphQL-core)
|
|
237
238
|
|
|
239
|
+
Note that meanwhile we are using the amazing [ruff](https://docs.astral.sh/ruff/) tool
|
|
240
|
+
to both format and check the code of GraphQL-core 3,
|
|
241
|
+
in addition to using [mypy](https://mypy-lang.org/) as type checker.
|
|
242
|
+
|
|
238
243
|
|
|
239
244
|
## Integration with other libraries and roadmap
|
|
240
245
|
|
|
@@ -244,14 +249,12 @@ Some restrictions (mostly in line with the design goals):
|
|
|
244
249
|
also been created by Syrus Akbary, who meanwhile has handed over the maintenance
|
|
245
250
|
and future development to members of the GraphQL-Python community.
|
|
246
251
|
|
|
247
|
-
|
|
248
|
-
the heavy lifting. Note that Graphene 2 is not compatible with GraphQL-core 3.
|
|
249
|
-
The new version 3 of Graphene will use GraphQL-core 3 instead of GraphQL-core 2.
|
|
252
|
+
Graphene 3 is now using Graphql-core 3 as core library for much of the heavy lifting.
|
|
250
253
|
|
|
251
254
|
* [Ariadne](https://github.com/mirumee/ariadne) is a Python library for implementing
|
|
252
255
|
GraphQL servers using schema-first approach created by Mirumee Software.
|
|
253
256
|
|
|
254
|
-
Ariadne is
|
|
257
|
+
Ariadne is also using GraphQL-core 3 as its GraphQL implementation.
|
|
255
258
|
|
|
256
259
|
* [Strawberry](https://github.com/strawberry-graphql/strawberry), created by Patrick
|
|
257
260
|
Arminio, is a new GraphQL library for Python 3, inspired by dataclasses,
|
|
@@ -267,6 +270,7 @@ Changes are tracked as
|
|
|
267
270
|
## Credits and history
|
|
268
271
|
|
|
269
272
|
The GraphQL-core 3 library
|
|
273
|
+
|
|
270
274
|
* has been created and is maintained by Christoph Zwerschke
|
|
271
275
|
* uses ideas and code from GraphQL-core 2, a prior work by Syrus Akbary
|
|
272
276
|
* is a Python port of GraphQL.js which has been developed by Lee Byron and others
|
|
@@ -6,19 +6,20 @@ a query language for APIs created by Facebook.
|
|
|
6
6
|
|
|
7
7
|
[](https://badge.fury.io/py/graphql-core)
|
|
8
8
|
[](https://graphql-core-3.readthedocs.io)
|
|
9
|
-

|
|
10
|
-

|
|
11
|
-
[](https://github.com/graphql-python/graphql-core/actions/workflows/test.yml)
|
|
10
|
+
[](https://github.com/graphql-python/graphql-core/actions/workflows/lint.yml)
|
|
11
|
+
[](https://codspeed.io/graphql-python/graphql-core)
|
|
12
|
+
[](https://github.com/astral-sh/ruff)
|
|
12
13
|
|
|
13
|
-
An extensive test suite with over
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
An extensive test suite with over 2500 unit tests and 100% coverage replicates the
|
|
15
|
+
complete test suite of GraphQL.js, ensuring that this port is reliable and compatible
|
|
16
|
+
with GraphQL.js.
|
|
16
17
|
|
|
17
|
-
The current stable version 3.2.
|
|
18
|
-
version 16.
|
|
18
|
+
The current stable version 3.2.6 of GraphQL-core is up-to-date with GraphQL.js
|
|
19
|
+
version 16.8.2 and supports Python versions 3.6 to 3.13.
|
|
19
20
|
|
|
20
|
-
You can also try out the latest alpha version 3.3.
|
|
21
|
-
which is up-to-date with GraphQL.js version 17.0.
|
|
21
|
+
You can also try out the latest alpha version 3.3.0a7 of GraphQL-core,
|
|
22
|
+
which is up-to-date with GraphQL.js version 17.0.0a3.
|
|
22
23
|
Please note that this new minor version of GraphQL-core does not support
|
|
23
24
|
Python 3.6 anymore.
|
|
24
25
|
|
|
@@ -26,13 +27,12 @@ Note that for various reasons, GraphQL-core does not use SemVer like GraphQL.js.
|
|
|
26
27
|
Changes in the major version of GraphQL.js are reflected in the minor version of
|
|
27
28
|
GraphQL-core instead. This means there can be breaking changes in the API
|
|
28
29
|
when the minor version changes, and only patch releases are fully backward compatible.
|
|
29
|
-
Therefore, we recommend something like
|
|
30
|
+
Therefore, we recommend using something like `~= 3.2.0` as the version specifier
|
|
30
31
|
when including GraphQL-core as a dependency.
|
|
31
32
|
|
|
32
|
-
|
|
33
33
|
## Documentation
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
More detailed documentation for GraphQL-core 3 can be found at
|
|
36
36
|
[graphql-core-3.readthedocs.io](https://graphql-core-3.readthedocs.io/).
|
|
37
37
|
|
|
38
38
|
The documentation for GraphQL.js can be found at [graphql.org/graphql-js/](https://graphql.org/graphql-js/).
|
|
@@ -47,10 +47,10 @@ examples.
|
|
|
47
47
|
|
|
48
48
|
A general overview of GraphQL is available in the
|
|
49
49
|
[README](https://github.com/graphql/graphql-spec/blob/main/README.md) for the
|
|
50
|
-
[Specification for GraphQL](https://github.com/graphql/graphql-spec).
|
|
51
|
-
|
|
52
|
-
repository. A good way to get started with this repository is to walk through
|
|
53
|
-
README and the corresponding tests in parallel.
|
|
50
|
+
[Specification for GraphQL](https://github.com/graphql/graphql-spec). This overview
|
|
51
|
+
includes a simple set of GraphQL examples that are also available as [tests](tests)
|
|
52
|
+
in this repository. A good way to get started with this repository is to walk through
|
|
53
|
+
that README and the corresponding tests in parallel.
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
## Installation
|
|
@@ -174,17 +174,17 @@ asyncio.run(main())
|
|
|
174
174
|
|
|
175
175
|
## Goals and restrictions
|
|
176
176
|
|
|
177
|
-
GraphQL-core
|
|
178
|
-
in Python as closely as possible
|
|
179
|
-
GraphQL.js.
|
|
177
|
+
GraphQL-core aims to reproduce the code of the reference implementation GraphQL.js
|
|
178
|
+
in Python as closely as possible while staying up-to-date with the latest development
|
|
179
|
+
of GraphQL.js.
|
|
180
180
|
|
|
181
|
-
GraphQL-core 3 (formerly known as GraphQL-core-next)
|
|
181
|
+
GraphQL-core 3 (formerly known as GraphQL-core-next) was created as a modern
|
|
182
182
|
alternative to [GraphQL-core 2](https://github.com/graphql-python/graphql-core-legacy),
|
|
183
|
-
a prior work by Syrus Akbary
|
|
184
|
-
|
|
185
|
-
GraphQL-core 2 or directly taken over with
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
a prior work by Syrus Akbary based on an older version of GraphQL.js that still
|
|
184
|
+
supported legacy Python versions. While some parts of GraphQL-core 3 were inspired by
|
|
185
|
+
GraphQL-core 2 or directly taken over with slight modifications, most of the code has
|
|
186
|
+
been re-implemented from scratch. This re-implementation closely replicates the latest
|
|
187
|
+
code in GraphQL.js and adds type hints for Python.
|
|
188
188
|
|
|
189
189
|
Design goals for the GraphQL-core 3 library were:
|
|
190
190
|
|
|
@@ -208,6 +208,10 @@ Some restrictions (mostly in line with the design goals):
|
|
|
208
208
|
* supports asynchronous operations only via async.io
|
|
209
209
|
(does not support the additional executors in GraphQL-core)
|
|
210
210
|
|
|
211
|
+
Note that meanwhile we are using the amazing [ruff](https://docs.astral.sh/ruff/) tool
|
|
212
|
+
to both format and check the code of GraphQL-core 3,
|
|
213
|
+
in addition to using [mypy](https://mypy-lang.org/) as type checker.
|
|
214
|
+
|
|
211
215
|
|
|
212
216
|
## Integration with other libraries and roadmap
|
|
213
217
|
|
|
@@ -217,14 +221,12 @@ Some restrictions (mostly in line with the design goals):
|
|
|
217
221
|
also been created by Syrus Akbary, who meanwhile has handed over the maintenance
|
|
218
222
|
and future development to members of the GraphQL-Python community.
|
|
219
223
|
|
|
220
|
-
|
|
221
|
-
the heavy lifting. Note that Graphene 2 is not compatible with GraphQL-core 3.
|
|
222
|
-
The new version 3 of Graphene will use GraphQL-core 3 instead of GraphQL-core 2.
|
|
224
|
+
Graphene 3 is now using Graphql-core 3 as core library for much of the heavy lifting.
|
|
223
225
|
|
|
224
226
|
* [Ariadne](https://github.com/mirumee/ariadne) is a Python library for implementing
|
|
225
227
|
GraphQL servers using schema-first approach created by Mirumee Software.
|
|
226
228
|
|
|
227
|
-
Ariadne is
|
|
229
|
+
Ariadne is also using GraphQL-core 3 as its GraphQL implementation.
|
|
228
230
|
|
|
229
231
|
* [Strawberry](https://github.com/strawberry-graphql/strawberry), created by Patrick
|
|
230
232
|
Arminio, is a new GraphQL library for Python 3, inspired by dataclasses,
|
|
@@ -240,6 +242,7 @@ Changes are tracked as
|
|
|
240
242
|
## Credits and history
|
|
241
243
|
|
|
242
244
|
The GraphQL-core 3 library
|
|
245
|
+
|
|
243
246
|
* has been created and is maintained by Christoph Zwerschke
|
|
244
247
|
* uses ideas and code from GraphQL-core 2, a prior work by Syrus Akbary
|
|
245
248
|
* is a Python port of GraphQL.js which has been developed by Lee Byron and others
|
|
@@ -50,7 +50,7 @@ master_doc = "index"
|
|
|
50
50
|
|
|
51
51
|
# General information about the project.
|
|
52
52
|
project = "GraphQL-core 3"
|
|
53
|
-
copyright = "
|
|
53
|
+
copyright = "2025, Christoph Zwerschke"
|
|
54
54
|
author = "Christoph Zwerschke"
|
|
55
55
|
|
|
56
56
|
# The version info for the project you're documenting, acts as replacement for
|
|
@@ -60,7 +60,7 @@ author = "Christoph Zwerschke"
|
|
|
60
60
|
# The short X.Y version.
|
|
61
61
|
# version = '3.3'
|
|
62
62
|
# The full version, including alpha/beta/rc tags.
|
|
63
|
-
version = release = "3.3.
|
|
63
|
+
version = release = "3.3.0a7"
|
|
64
64
|
|
|
65
65
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
|
66
66
|
# for a list of supported languages.
|
|
@@ -147,9 +147,13 @@ traceback
|
|
|
147
147
|
types.TracebackType
|
|
148
148
|
TypeMap
|
|
149
149
|
AwaitableOrValue
|
|
150
|
+
DeferredFragmentRecord
|
|
151
|
+
DeferUsage
|
|
150
152
|
EnterLeaveVisitor
|
|
151
153
|
ExperimentalIncrementalExecutionResults
|
|
152
154
|
FieldGroup
|
|
155
|
+
FormattedIncrementalResult
|
|
156
|
+
FormattedPendingResult
|
|
153
157
|
FormattedSourceLocation
|
|
154
158
|
GraphQLAbstractType
|
|
155
159
|
GraphQLCompositeType
|
|
@@ -161,18 +165,37 @@ GraphQLOutputType
|
|
|
161
165
|
GraphQLTypeResolver
|
|
162
166
|
GroupedFieldSet
|
|
163
167
|
IncrementalDataRecord
|
|
168
|
+
IncrementalResult
|
|
169
|
+
InitialResultRecord
|
|
164
170
|
Middleware
|
|
171
|
+
PendingResult
|
|
172
|
+
StreamItemsRecord
|
|
173
|
+
StreamRecord
|
|
174
|
+
SubsequentDataRecord
|
|
165
175
|
asyncio.events.AbstractEventLoop
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
graphql.execution.
|
|
169
|
-
graphql.execution.
|
|
176
|
+
collections.abc.MutableMapping
|
|
177
|
+
collections.abc.MutableSet
|
|
178
|
+
graphql.execution.collect_fields.DeferUsage
|
|
179
|
+
graphql.execution.collect_fields.CollectFieldsResult
|
|
180
|
+
graphql.execution.collect_fields.FieldGroup
|
|
170
181
|
graphql.execution.execute.StreamArguments
|
|
182
|
+
graphql.execution.execute.StreamUsage
|
|
183
|
+
graphql.execution.map_async_iterable.map_async_iterable
|
|
184
|
+
graphql.execution.incremental_publisher.CompletedResult
|
|
185
|
+
graphql.execution.incremental_publisher.DeferredFragmentRecord
|
|
186
|
+
graphql.execution.incremental_publisher.DeferredGroupedFieldSetRecord
|
|
187
|
+
graphql.execution.incremental_publisher.FormattedCompletedResult
|
|
188
|
+
graphql.execution.incremental_publisher.FormattedPendingResult
|
|
171
189
|
graphql.execution.incremental_publisher.IncrementalPublisher
|
|
190
|
+
graphql.execution.incremental_publisher.InitialResultRecord
|
|
191
|
+
graphql.execution.incremental_publisher.PendingResult
|
|
172
192
|
graphql.execution.incremental_publisher.StreamItemsRecord
|
|
173
|
-
graphql.execution.incremental_publisher.
|
|
193
|
+
graphql.execution.incremental_publisher.StreamRecord
|
|
194
|
+
graphql.execution.Middleware
|
|
174
195
|
graphql.language.lexer.EscapeSequence
|
|
175
196
|
graphql.language.visitor.EnterLeaveVisitor
|
|
197
|
+
graphql.pyutils.ref_map.K
|
|
198
|
+
graphql.pyutils.ref_map.V
|
|
176
199
|
graphql.type.definition.GT_co
|
|
177
200
|
graphql.type.definition.GNT_co
|
|
178
201
|
graphql.type.definition.TContext
|