strawberry-graphql 0.273.2__tar.gz → 0.274.0__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.
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/PKG-INFO +1 -1
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/pyproject.toml +2 -1
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/aiohttp/views.py +2 -2
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/channels/handlers/http_handler.py +1 -1
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/channels/handlers/ws_handler.py +2 -2
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/http/async_base_view.py +11 -8
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/http/sync_base_view.py +8 -5
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/litestar/controller.py +3 -3
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/exceptions.py +12 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/schema.py +20 -5
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/subscriptions/protocols/graphql_transport_ws/handlers.py +6 -5
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/subscriptions/protocols/graphql_ws/handlers.py +2 -8
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/execution.py +1 -1
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/operation.py +1 -1
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/LICENSE +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/README.md +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/__main__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/aiohttp/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/aiohttp/test/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/aiohttp/test/client.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/annotation.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/asgi/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/asgi/test/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/asgi/test/client.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/chalice/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/chalice/views.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/channels/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/channels/handlers/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/channels/handlers/base.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/channels/router.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/channels/testing.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/app.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/codegen.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/export_schema.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/schema_codegen.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/server.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/upgrade/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/upgrade/_fake_progress.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/upgrade/_run_codemod.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/constants.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/debug_server.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/utils/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/utils/load_schema.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/exceptions.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/plugins/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/plugins/print_operation.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/plugins/python.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/plugins/typescript.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/query_codegen.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/types.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codemods/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codemods/annotated_unions.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codemods/update_imports.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/dataloader.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/directive.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/django/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/django/apps.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/django/context.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/django/test/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/django/test/client.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/django/views.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/conflicting_arguments.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/duplicated_type_name.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/exception.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/exception_source.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/handler.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/invalid_argument_type.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/invalid_superclass_interface.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/invalid_union_type.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/missing_arguments_annotations.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/missing_dependencies.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/missing_field_annotation.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/missing_return_annotation.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/object_is_not_a_class.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/object_is_not_an_enum.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/permission_fail_silently_requires_optional.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/private_strawberry_field.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/scalar_already_registered.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/syntax.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/unresolved_field_type.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/utils/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/utils/source_finder.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/pydantic/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/pydantic/_compat.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/pydantic/conversion.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/pydantic/conversion_types.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/pydantic/error_type.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/pydantic/exceptions.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/pydantic/fields.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/pydantic/object_type.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/pydantic/utils.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/ext/LICENSE +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/ext/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/ext/dataclasses/LICENSE +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/ext/dataclasses/README.md +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/ext/dataclasses/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/ext/dataclasses/dataclasses.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/ext/mypy_plugin.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/add_validation_rules.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/base_extension.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/context.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/directives.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/disable_introspection.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/disable_validation.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/field_extension.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/mask_errors.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/max_aliases.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/max_tokens.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/parser_cache.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/pyinstrument.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/query_depth_limiter.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/runner.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/tracing/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/tracing/apollo.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/tracing/datadog.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/tracing/opentelemetry.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/tracing/utils.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/utils.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/validation_cache.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/fastapi/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/fastapi/context.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/fastapi/router.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/argument.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/enum.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/field.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/mutation.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/object_type.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/scalar.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/schema.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/schema_directive.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/schema_directives.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/types.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/federation/union.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/field_extensions/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/field_extensions/input_mutation.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/file_uploads/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/file_uploads/scalars.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/file_uploads/utils.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/flask/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/flask/views.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/http/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/http/base.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/http/exceptions.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/http/ides.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/http/parse_content_type.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/http/temporal_response.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/http/types.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/http/typevars.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/litestar/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/parent.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/permission.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/printer/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/printer/ast_from_value.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/printer/printer.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/py.typed +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/quart/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/quart/views.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/relay/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/relay/exceptions.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/relay/fields.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/relay/types.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/relay/utils.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/resolvers.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/sanic/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/sanic/context.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/sanic/utils.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/sanic/views.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/scalars.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/base.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/compat.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/config.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/name_converter.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/schema_converter.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/types/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/types/base_scalars.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/types/concrete_type.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/types/scalar.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/validation_rules/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema/validation_rules/one_of.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema_codegen/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema_directive.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/schema_directives.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/static/apollo-sandbox.html +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/static/graphiql.html +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/static/pathfinder.html +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/subscriptions/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/subscriptions/protocols/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/subscriptions/protocols/graphql_transport_ws/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/subscriptions/protocols/graphql_transport_ws/types.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/subscriptions/protocols/graphql_ws/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/subscriptions/protocols/graphql_ws/types.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/test/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/test/client.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/tools/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/tools/create_type.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/tools/merge_types.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/arguments.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/auto.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/base.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/cast.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/enum.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/field.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/fields/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/fields/resolver.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/graphql.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/info.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/lazy_type.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/maybe.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/mutation.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/nodes.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/object_type.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/private.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/scalar.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/type_resolver.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/union.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/types/unset.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/__init__.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/aio.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/await_maybe.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/dataclasses.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/debug.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/deprecations.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/graphql_lexer.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/importer.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/inspect.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/logging.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/str_converters.py +0 -0
- {strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/utils/typing.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "strawberry-graphql"
|
3
|
-
version = "0.
|
3
|
+
version = "0.274.0"
|
4
4
|
description = "A library for creating GraphQL APIs"
|
5
5
|
authors = [{ name = "Patrick Arminio", email = "patrick.arminio@gmail.com" }]
|
6
6
|
license = { text = "MIT" }
|
@@ -108,6 +108,7 @@ types-deprecated = "^1.2.15.20241117"
|
|
108
108
|
types-six = "^1.17.0.20250403"
|
109
109
|
types-pyyaml = "^6.0.12.20240917"
|
110
110
|
mypy = "^1.15.0"
|
111
|
+
pyright = "1.1.401"
|
111
112
|
codeflash = ">=0.9.2"
|
112
113
|
|
113
114
|
[tool.poetry.group.integrations]
|
@@ -36,7 +36,7 @@ from strawberry.http.typevars import (
|
|
36
36
|
from strawberry.subscriptions import GRAPHQL_TRANSPORT_WS_PROTOCOL, GRAPHQL_WS_PROTOCOL
|
37
37
|
|
38
38
|
if TYPE_CHECKING:
|
39
|
-
from collections.abc import AsyncGenerator,
|
39
|
+
from collections.abc import AsyncGenerator, Mapping, Sequence
|
40
40
|
|
41
41
|
from strawberry.http import GraphQLHTTPResponse
|
42
42
|
from strawberry.http.ides import GraphQL_IDE
|
@@ -144,7 +144,7 @@ class GraphQLView(
|
|
144
144
|
keep_alive: bool = True,
|
145
145
|
keep_alive_interval: float = 1,
|
146
146
|
debug: bool = False,
|
147
|
-
subscription_protocols:
|
147
|
+
subscription_protocols: Sequence[str] = (
|
148
148
|
GRAPHQL_TRANSPORT_WS_PROTOCOL,
|
149
149
|
GRAPHQL_WS_PROTOCOL,
|
150
150
|
),
|
@@ -360,7 +360,7 @@ class SyncGraphQLHTTPConsumer(
|
|
360
360
|
def run(
|
361
361
|
self,
|
362
362
|
request: ChannelsRequest,
|
363
|
-
context:
|
363
|
+
context: Context = UNSET,
|
364
364
|
root_value: Optional[RootValue] = UNSET,
|
365
365
|
) -> ChannelsResponse | MultipartChannelsResponse:
|
366
366
|
return super().run(request, context, root_value)
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/channels/handlers/ws_handler.py
RENAMED
@@ -19,7 +19,7 @@ from strawberry.subscriptions import GRAPHQL_TRANSPORT_WS_PROTOCOL, GRAPHQL_WS_P
|
|
19
19
|
from .base import ChannelsWSConsumer
|
20
20
|
|
21
21
|
if TYPE_CHECKING:
|
22
|
-
from collections.abc import AsyncGenerator, Mapping
|
22
|
+
from collections.abc import AsyncGenerator, Mapping, Sequence
|
23
23
|
|
24
24
|
from strawberry.http import GraphQLHTTPResponse
|
25
25
|
from strawberry.schema import BaseSchema
|
@@ -110,7 +110,7 @@ class GraphQLWSConsumer(
|
|
110
110
|
keep_alive: bool = False,
|
111
111
|
keep_alive_interval: float = 1,
|
112
112
|
debug: bool = False,
|
113
|
-
subscription_protocols:
|
113
|
+
subscription_protocols: Sequence[str] = (
|
114
114
|
GRAPHQL_TRANSPORT_WS_PROTOCOL,
|
115
115
|
GRAPHQL_WS_PROTOCOL,
|
116
116
|
),
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/http/async_base_view.py
RENAMED
@@ -26,7 +26,10 @@ from strawberry.http import (
|
|
26
26
|
)
|
27
27
|
from strawberry.http.ides import GraphQL_IDE
|
28
28
|
from strawberry.schema.base import BaseSchema
|
29
|
-
from strawberry.schema.exceptions import
|
29
|
+
from strawberry.schema.exceptions import (
|
30
|
+
CannotGetOperationTypeError,
|
31
|
+
InvalidOperationTypeError,
|
32
|
+
)
|
30
33
|
from strawberry.subscriptions import GRAPHQL_TRANSPORT_WS_PROTOCOL, GRAPHQL_WS_PROTOCOL
|
31
34
|
from strawberry.subscriptions.protocols.graphql_transport_ws.handlers import (
|
32
35
|
BaseGraphQLTransportWSHandler,
|
@@ -248,7 +251,7 @@ class AsyncBaseHTTPView(
|
|
248
251
|
async def run(
|
249
252
|
self,
|
250
253
|
request: Request,
|
251
|
-
context:
|
254
|
+
context: Context = UNSET,
|
252
255
|
root_value: Optional[RootValue] = UNSET,
|
253
256
|
) -> Response: ...
|
254
257
|
|
@@ -256,14 +259,14 @@ class AsyncBaseHTTPView(
|
|
256
259
|
async def run(
|
257
260
|
self,
|
258
261
|
request: WebSocketRequest,
|
259
|
-
context:
|
262
|
+
context: Context = UNSET,
|
260
263
|
root_value: Optional[RootValue] = UNSET,
|
261
264
|
) -> WebSocketResponse: ...
|
262
265
|
|
263
266
|
async def run(
|
264
267
|
self,
|
265
268
|
request: Union[Request, WebSocketRequest],
|
266
|
-
context:
|
269
|
+
context: Context = UNSET,
|
267
270
|
root_value: Optional[RootValue] = UNSET,
|
268
271
|
) -> Union[Response, WebSocketResponse]:
|
269
272
|
root_value = (
|
@@ -287,7 +290,7 @@ class AsyncBaseHTTPView(
|
|
287
290
|
await self.graphql_transport_ws_handler_class(
|
288
291
|
view=self,
|
289
292
|
websocket=websocket,
|
290
|
-
context=context,
|
293
|
+
context=context,
|
291
294
|
root_value=root_value, # type: ignore
|
292
295
|
schema=self.schema,
|
293
296
|
debug=self.debug,
|
@@ -297,7 +300,7 @@ class AsyncBaseHTTPView(
|
|
297
300
|
await self.graphql_ws_handler_class(
|
298
301
|
view=self,
|
299
302
|
websocket=websocket,
|
300
|
-
context=context,
|
303
|
+
context=context,
|
301
304
|
root_value=root_value, # type: ignore
|
302
305
|
schema=self.schema,
|
303
306
|
debug=self.debug,
|
@@ -318,8 +321,6 @@ class AsyncBaseHTTPView(
|
|
318
321
|
else context
|
319
322
|
)
|
320
323
|
|
321
|
-
assert context
|
322
|
-
|
323
324
|
if not self.is_request_allowed(request_adapter):
|
324
325
|
raise HTTPException(405, "GraphQL only supports GET and POST requests.")
|
325
326
|
|
@@ -332,6 +333,8 @@ class AsyncBaseHTTPView(
|
|
332
333
|
result = await self.execute_operation(
|
333
334
|
request=request, context=context, root_value=root_value
|
334
335
|
)
|
336
|
+
except CannotGetOperationTypeError as e:
|
337
|
+
raise HTTPException(400, e.as_http_error_reason()) from e
|
335
338
|
except InvalidOperationTypeError as e:
|
336
339
|
raise HTTPException(
|
337
340
|
400, e.as_http_error_reason(request_adapter.method)
|
@@ -11,7 +11,6 @@ from typing import (
|
|
11
11
|
|
12
12
|
from graphql import GraphQLError
|
13
13
|
|
14
|
-
from strawberry import UNSET
|
15
14
|
from strawberry.exceptions import MissingQueryError
|
16
15
|
from strawberry.file_uploads.utils import replace_placeholders_with_files
|
17
16
|
from strawberry.http import (
|
@@ -21,9 +20,13 @@ from strawberry.http import (
|
|
21
20
|
)
|
22
21
|
from strawberry.http.ides import GraphQL_IDE
|
23
22
|
from strawberry.schema import BaseSchema
|
24
|
-
from strawberry.schema.exceptions import
|
23
|
+
from strawberry.schema.exceptions import (
|
24
|
+
CannotGetOperationTypeError,
|
25
|
+
InvalidOperationTypeError,
|
26
|
+
)
|
25
27
|
from strawberry.types import ExecutionResult
|
26
28
|
from strawberry.types.graphql import OperationType
|
29
|
+
from strawberry.types.unset import UNSET
|
27
30
|
|
28
31
|
from .base import BaseView
|
29
32
|
from .exceptions import HTTPException
|
@@ -166,7 +169,7 @@ class SyncBaseHTTPView(
|
|
166
169
|
def run(
|
167
170
|
self,
|
168
171
|
request: Request,
|
169
|
-
context:
|
172
|
+
context: Context = UNSET,
|
170
173
|
root_value: Optional[RootValue] = UNSET,
|
171
174
|
) -> Response:
|
172
175
|
request_adapter = self.request_adapter_class(request)
|
@@ -187,14 +190,14 @@ class SyncBaseHTTPView(
|
|
187
190
|
)
|
188
191
|
root_value = self.get_root_value(request) if root_value is UNSET else root_value
|
189
192
|
|
190
|
-
assert context
|
191
|
-
|
192
193
|
try:
|
193
194
|
result = self.execute_operation(
|
194
195
|
request=request,
|
195
196
|
context=context,
|
196
197
|
root_value=root_value,
|
197
198
|
)
|
199
|
+
except CannotGetOperationTypeError as e:
|
200
|
+
raise HTTPException(400, e.as_http_error_reason()) from e
|
198
201
|
except InvalidOperationTypeError as e:
|
199
202
|
raise HTTPException(
|
200
203
|
400, e.as_http_error_reason(request_adapter.method)
|
@@ -55,7 +55,7 @@ from strawberry.http.typevars import Context, RootValue
|
|
55
55
|
from strawberry.subscriptions import GRAPHQL_TRANSPORT_WS_PROTOCOL, GRAPHQL_WS_PROTOCOL
|
56
56
|
|
57
57
|
if TYPE_CHECKING:
|
58
|
-
from collections.abc import AsyncGenerator, AsyncIterator, Mapping
|
58
|
+
from collections.abc import AsyncGenerator, AsyncIterator, Mapping, Sequence
|
59
59
|
|
60
60
|
from litestar.types import AnyCallable, Dependencies
|
61
61
|
from strawberry.http import GraphQLHTTPResponse
|
@@ -253,7 +253,7 @@ class GraphQLController(
|
|
253
253
|
graphql_ide: Optional[GraphQL_IDE] = "graphiql"
|
254
254
|
debug: bool = False
|
255
255
|
connection_init_wait_timeout: timedelta = timedelta(minutes=1)
|
256
|
-
protocols:
|
256
|
+
protocols: Sequence[str] = (
|
257
257
|
GRAPHQL_TRANSPORT_WS_PROTOCOL,
|
258
258
|
GRAPHQL_WS_PROTOCOL,
|
259
259
|
)
|
@@ -411,7 +411,7 @@ def make_graphql_controller(
|
|
411
411
|
root_value_getter: Optional[AnyCallable] = None,
|
412
412
|
# TODO: context typevar
|
413
413
|
context_getter: Optional[AnyCallable] = None,
|
414
|
-
subscription_protocols:
|
414
|
+
subscription_protocols: Sequence[str] = (
|
415
415
|
GRAPHQL_TRANSPORT_WS_PROTOCOL,
|
416
416
|
GRAPHQL_WS_PROTOCOL,
|
417
417
|
),
|
@@ -1,9 +1,21 @@
|
|
1
|
+
from typing import Optional
|
2
|
+
|
1
3
|
from strawberry.types.graphql import OperationType
|
2
4
|
|
3
5
|
|
4
6
|
class CannotGetOperationTypeError(Exception):
|
5
7
|
"""Internal error raised when we cannot get the operation type from a GraphQL document."""
|
6
8
|
|
9
|
+
def __init__(self, operation_name: Optional[str]) -> None:
|
10
|
+
self.operation_name = operation_name
|
11
|
+
|
12
|
+
def as_http_error_reason(self) -> str:
|
13
|
+
return (
|
14
|
+
"Can't get GraphQL operation type"
|
15
|
+
if self.operation_name is None
|
16
|
+
else f'Unknown operation named "{self.operation_name}".'
|
17
|
+
)
|
18
|
+
|
7
19
|
|
8
20
|
class InvalidOperationTypeError(Exception):
|
9
21
|
def __init__(self, operation_type: OperationType) -> None:
|
@@ -498,7 +498,7 @@ class Schema(BaseSchema):
|
|
498
498
|
try:
|
499
499
|
operation_type = context.operation_type
|
500
500
|
except RuntimeError as error:
|
501
|
-
raise CannotGetOperationTypeError from error
|
501
|
+
raise CannotGetOperationTypeError(context.operation_name) from error
|
502
502
|
|
503
503
|
if operation_type not in context.allowed_operations:
|
504
504
|
raise InvalidOperationTypeError(operation_type)
|
@@ -609,7 +609,11 @@ class Schema(BaseSchema):
|
|
609
609
|
# only return a sanitised version to the client.
|
610
610
|
self._process_errors(result.errors, execution_context)
|
611
611
|
|
612
|
-
except (
|
612
|
+
except (
|
613
|
+
MissingQueryError,
|
614
|
+
CannotGetOperationTypeError,
|
615
|
+
InvalidOperationTypeError,
|
616
|
+
):
|
613
617
|
raise
|
614
618
|
except Exception as exc: # noqa: BLE001
|
615
619
|
return await self._handle_execution_result(
|
@@ -677,8 +681,15 @@ class Schema(BaseSchema):
|
|
677
681
|
extensions=extensions_runner.get_extensions_results_sync(),
|
678
682
|
)
|
679
683
|
|
680
|
-
|
681
|
-
|
684
|
+
try:
|
685
|
+
operation_type = execution_context.operation_type
|
686
|
+
except RuntimeError as error:
|
687
|
+
raise CannotGetOperationTypeError(
|
688
|
+
execution_context.operation_name
|
689
|
+
) from error
|
690
|
+
|
691
|
+
if operation_type not in execution_context.allowed_operations:
|
692
|
+
raise InvalidOperationTypeError(operation_type) # noqa: TRY301
|
682
693
|
|
683
694
|
with extensions_runner.validation():
|
684
695
|
_run_validation(execution_context)
|
@@ -725,7 +736,11 @@ class Schema(BaseSchema):
|
|
725
736
|
# extension). That way we can log the original errors but
|
726
737
|
# only return a sanitised version to the client.
|
727
738
|
self._process_errors(result.errors, execution_context)
|
728
|
-
except (
|
739
|
+
except (
|
740
|
+
MissingQueryError,
|
741
|
+
CannotGetOperationTypeError,
|
742
|
+
InvalidOperationTypeError,
|
743
|
+
):
|
729
744
|
raise
|
730
745
|
except Exception as exc: # noqa: BLE001
|
731
746
|
errors = [_coerce_error(exc)]
|
@@ -20,6 +20,7 @@ from strawberry.http.exceptions import (
|
|
20
20
|
WebSocketDisconnected,
|
21
21
|
)
|
22
22
|
from strawberry.http.typevars import Context, RootValue
|
23
|
+
from strawberry.schema.exceptions import CannotGetOperationTypeError
|
23
24
|
from strawberry.subscriptions.protocols.graphql_transport_ws.types import (
|
24
25
|
CompleteMessage,
|
25
26
|
ConnectionInitMessage,
|
@@ -221,13 +222,13 @@ class BaseGraphQLTransportWSHandler(Generic[Context, RootValue]):
|
|
221
222
|
try:
|
222
223
|
operation_type = get_operation_type(graphql_document, operation_name)
|
223
224
|
except RuntimeError:
|
225
|
+
# Unlike in the other protocol implementations, we access the operation type
|
226
|
+
# before executing the operation. Therefore, we don't get a nice
|
227
|
+
# CannotGetOperationTypeError, but rather the underlying RuntimeError.
|
228
|
+
e = CannotGetOperationTypeError(operation_name)
|
224
229
|
await self.websocket.close(
|
225
230
|
code=4400,
|
226
|
-
reason=(
|
227
|
-
f'Unknown operation named "{operation_name}".'
|
228
|
-
if operation_name
|
229
|
-
else "Can't get GraphQL operation type"
|
230
|
-
),
|
231
|
+
reason=e.as_http_error_reason(),
|
231
232
|
)
|
232
233
|
return
|
233
234
|
|
@@ -194,18 +194,12 @@ class BaseGraphQLWSHandler(Generic[Context, RootValue]):
|
|
194
194
|
|
195
195
|
await self.send_message(CompleteMessage(type="complete", id=operation_id))
|
196
196
|
|
197
|
-
except CannotGetOperationTypeError:
|
197
|
+
except CannotGetOperationTypeError as e:
|
198
198
|
await self.send_message(
|
199
199
|
ErrorMessage(
|
200
200
|
type="error",
|
201
201
|
id=operation_id,
|
202
|
-
payload={
|
203
|
-
"message": (
|
204
|
-
f'Unknown operation named "{operation_name}".'
|
205
|
-
if operation_name
|
206
|
-
else "Can't get GraphQL operation type"
|
207
|
-
)
|
208
|
-
},
|
202
|
+
payload={"message": e.as_http_error_reason()},
|
209
203
|
)
|
210
204
|
)
|
211
205
|
except asyncio.CancelledError:
|
@@ -25,7 +25,7 @@ def get_operation_type(
|
|
25
25
|
) -> OperationType:
|
26
26
|
definition: Optional[OperationDefinitionNode] = None
|
27
27
|
|
28
|
-
if operation_name:
|
28
|
+
if operation_name is not None:
|
29
29
|
for d in graphql_document.definitions:
|
30
30
|
if not isinstance(d, OperationDefinitionNode):
|
31
31
|
continue
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/aiohttp/test/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/channels/handlers/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/channels/handlers/base.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/codegen.py
RENAMED
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/export_schema.py
RENAMED
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/commands/schema_codegen.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/cli/utils/load_schema.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/plugins/__init__.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/plugins/python.py
RENAMED
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/plugins/typescript.py
RENAMED
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codegen/query_codegen.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codemods/annotated_unions.py
RENAMED
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/codemods/update_imports.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/django/test/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/exception.py
RENAMED
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/exception_source.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/exceptions/utils/__init__.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/pydantic/fields.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/experimental/pydantic/utils.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/ext/dataclasses/LICENSE
RENAMED
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/ext/dataclasses/README.md
RENAMED
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/ext/dataclasses/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/ext/dataclasses/dataclasses.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/base_extension.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/directives.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.273.2 → strawberry_graphql-0.274.0}/strawberry/extensions/field_extension.py
RENAMED
File without changes
|