strawberry-graphql 0.270.1__tar.gz → 0.270.3__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.270.1 → strawberry_graphql-0.270.3}/PKG-INFO +2 -2
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/pyproject.toml +2 -2
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/exceptions.py +8 -1
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/schema.py +8 -3
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/subscriptions/protocols/graphql_ws/handlers.py +9 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/LICENSE +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/README.md +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/__main__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/aiohttp/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/aiohttp/test/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/aiohttp/test/client.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/aiohttp/views.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/annotation.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/asgi/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/asgi/test/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/asgi/test/client.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/chalice/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/chalice/views.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/channels/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/channels/handlers/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/channels/handlers/base.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/channels/handlers/http_handler.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/channels/handlers/ws_handler.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/channels/router.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/channels/testing.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/app.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/commands/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/commands/codegen.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/commands/export_schema.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/commands/schema_codegen.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/commands/server.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/commands/upgrade/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/commands/upgrade/_fake_progress.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/commands/upgrade/_run_codemod.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/constants.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/debug_server.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/utils/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/utils/load_schema.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/exceptions.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/plugins/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/plugins/print_operation.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/plugins/python.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/plugins/typescript.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/query_codegen.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/types.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codemods/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codemods/annotated_unions.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codemods/update_imports.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/dataloader.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/directive.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/django/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/django/apps.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/django/context.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/django/test/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/django/test/client.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/django/views.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/conflicting_arguments.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/duplicated_type_name.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/exception.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/exception_source.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/handler.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/invalid_argument_type.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/invalid_union_type.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/missing_arguments_annotations.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/missing_dependencies.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/missing_field_annotation.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/missing_return_annotation.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/object_is_not_a_class.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/object_is_not_an_enum.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/permission_fail_silently_requires_optional.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/private_strawberry_field.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/scalar_already_registered.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/syntax.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/unresolved_field_type.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/utils/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/utils/source_finder.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/pydantic/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/pydantic/_compat.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/pydantic/conversion.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/pydantic/conversion_types.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/pydantic/error_type.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/pydantic/exceptions.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/pydantic/fields.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/pydantic/object_type.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/pydantic/utils.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/ext/LICENSE +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/ext/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/ext/dataclasses/LICENSE +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/ext/dataclasses/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/ext/dataclasses/dataclasses.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/ext/mypy_plugin.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/add_validation_rules.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/base_extension.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/context.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/directives.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/disable_validation.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/field_extension.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/mask_errors.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/max_aliases.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/max_tokens.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/parser_cache.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/pyinstrument.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/query_depth_limiter.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/runner.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/tracing/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/tracing/apollo.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/tracing/datadog.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/tracing/opentelemetry.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/tracing/utils.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/utils.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/validation_cache.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/fastapi/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/fastapi/context.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/fastapi/router.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/argument.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/enum.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/field.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/mutation.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/object_type.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/scalar.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/schema.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/schema_directive.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/schema_directives.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/types.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/union.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/field_extensions/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/field_extensions/input_mutation.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/file_uploads/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/file_uploads/scalars.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/file_uploads/utils.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/flask/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/flask/views.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/async_base_view.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/base.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/exceptions.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/ides.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/parse_content_type.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/sync_base_view.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/temporal_response.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/types.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/typevars.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/litestar/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/litestar/controller.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/parent.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/permission.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/printer/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/printer/ast_from_value.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/printer/printer.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/py.typed +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/quart/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/quart/views.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/relay/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/relay/exceptions.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/relay/fields.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/relay/types.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/relay/utils.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/resolvers.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/sanic/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/sanic/context.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/sanic/utils.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/sanic/views.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/scalars.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/base.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/compat.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/config.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/name_converter.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/schema_converter.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/types/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/types/base_scalars.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/types/concrete_type.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/types/scalar.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/validation_rules/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/validation_rules/one_of.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema_codegen/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema_directive.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema_directives.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/static/apollo-sandbox.html +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/static/graphiql.html +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/static/pathfinder.html +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/subscriptions/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/subscriptions/protocols/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/subscriptions/protocols/graphql_transport_ws/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/subscriptions/protocols/graphql_transport_ws/handlers.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/subscriptions/protocols/graphql_transport_ws/types.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/subscriptions/protocols/graphql_ws/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/subscriptions/protocols/graphql_ws/types.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/test/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/test/client.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/tools/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/tools/create_type.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/tools/merge_types.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/arguments.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/auto.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/base.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/cast.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/enum.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/execution.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/field.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/fields/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/fields/resolver.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/graphql.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/info.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/lazy_type.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/maybe.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/mutation.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/nodes.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/object_type.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/private.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/scalar.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/type_resolver.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/union.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/unset.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/__init__.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/aio.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/await_maybe.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/dataclasses.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/debug.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/deprecations.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/graphql_lexer.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/importer.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/inspect.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/logging.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/operation.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/str_converters.py +0 -0
- {strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/typing.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: strawberry-graphql
|
3
|
-
Version: 0.270.
|
3
|
+
Version: 0.270.3
|
4
4
|
Summary: A library for creating GraphQL APIs
|
5
5
|
License: MIT
|
6
6
|
Keywords: graphql,api,rest,starlette,async
|
@@ -42,7 +42,7 @@ Requires-Dist: channels (>=3.0.5) ; extra == "channels"
|
|
42
42
|
Requires-Dist: fastapi (>=0.65.2) ; extra == "fastapi"
|
43
43
|
Requires-Dist: flask (>=1.1) ; extra == "flask"
|
44
44
|
Requires-Dist: graphql-core (>=3.2.0,<3.4.0) ; python_version >= "3.9" and python_version < "4.0"
|
45
|
-
Requires-Dist: libcst (>=0.4.7) ; extra == "debug" or extra == "debug-server" or extra == "cli"
|
45
|
+
Requires-Dist: libcst (>=0.4.7,<1.8.0) ; extra == "debug" or extra == "debug-server" or extra == "cli"
|
46
46
|
Requires-Dist: litestar (>=2) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "litestar")
|
47
47
|
Requires-Dist: opentelemetry-api (<2) ; extra == "opentelemetry"
|
48
48
|
Requires-Dist: opentelemetry-sdk (<2) ; extra == "opentelemetry"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "strawberry-graphql"
|
3
|
-
version = "0.270.
|
3
|
+
version = "0.270.3"
|
4
4
|
packages = [{ include = "strawberry" }]
|
5
5
|
description = "A library for creating GraphQL APIs"
|
6
6
|
authors = ["Patrick Arminio <patrick.arminio@gmail.com>"]
|
@@ -51,7 +51,7 @@ aiohttp = { version = "^3.7.4.post0", optional = true }
|
|
51
51
|
fastapi = { version = ">=0.65.2", optional = true }
|
52
52
|
litestar = { version = ">=2", python = ">=3.10,<4.0", optional = true }
|
53
53
|
channels = { version = ">=3.0.5", optional = true }
|
54
|
-
libcst = { version = ">=0.4.7", optional = true }
|
54
|
+
libcst = { version = ">=0.4.7,<1.8.0", optional = true }
|
55
55
|
rich = { version = ">=12.0.0", optional = true }
|
56
56
|
pyinstrument = { version = ">=4.0.0", optional = true }
|
57
57
|
|
@@ -1,6 +1,10 @@
|
|
1
1
|
from strawberry.types.graphql import OperationType
|
2
2
|
|
3
3
|
|
4
|
+
class CannotGetOperationTypeError(Exception):
|
5
|
+
"""Internal error raised when we cannot get the operation type from a GraphQL document."""
|
6
|
+
|
7
|
+
|
4
8
|
class InvalidOperationTypeError(Exception):
|
5
9
|
def __init__(self, operation_type: OperationType) -> None:
|
6
10
|
self.operation_type = operation_type
|
@@ -15,4 +19,7 @@ class InvalidOperationTypeError(Exception):
|
|
15
19
|
return f"{operation_type} are not allowed when using {method}"
|
16
20
|
|
17
21
|
|
18
|
-
__all__ = [
|
22
|
+
__all__ = [
|
23
|
+
"CannotGetOperationTypeError",
|
24
|
+
"InvalidOperationTypeError",
|
25
|
+
]
|
@@ -71,7 +71,7 @@ from strawberry.utils.await_maybe import await_maybe
|
|
71
71
|
from . import compat
|
72
72
|
from .base import BaseSchema
|
73
73
|
from .config import StrawberryConfig
|
74
|
-
from .exceptions import InvalidOperationTypeError
|
74
|
+
from .exceptions import CannotGetOperationTypeError, InvalidOperationTypeError
|
75
75
|
|
76
76
|
if TYPE_CHECKING:
|
77
77
|
from collections.abc import Iterable, Mapping
|
@@ -495,8 +495,13 @@ class Schema(BaseSchema):
|
|
495
495
|
context.errors = [error]
|
496
496
|
return PreExecutionError(data=None, errors=[error])
|
497
497
|
|
498
|
-
|
499
|
-
|
498
|
+
try:
|
499
|
+
operation_type = context.operation_type
|
500
|
+
except RuntimeError as error:
|
501
|
+
raise CannotGetOperationTypeError from error
|
502
|
+
|
503
|
+
if operation_type not in context.allowed_operations:
|
504
|
+
raise InvalidOperationTypeError(operation_type)
|
500
505
|
|
501
506
|
async with extensions_runner.validation():
|
502
507
|
_run_validation(context)
|
@@ -14,6 +14,7 @@ from typing import (
|
|
14
14
|
from strawberry.exceptions import ConnectionRejectionError
|
15
15
|
from strawberry.http.exceptions import NonTextMessageReceived, WebSocketDisconnected
|
16
16
|
from strawberry.http.typevars import Context, RootValue
|
17
|
+
from strawberry.schema.exceptions import CannotGetOperationTypeError
|
17
18
|
from strawberry.subscriptions.protocols.graphql_ws.types import (
|
18
19
|
CompleteMessage,
|
19
20
|
ConnectionInitMessage,
|
@@ -193,6 +194,14 @@ class BaseGraphQLWSHandler(Generic[Context, RootValue]):
|
|
193
194
|
|
194
195
|
await self.send_message(CompleteMessage(type="complete", id=operation_id))
|
195
196
|
|
197
|
+
except CannotGetOperationTypeError:
|
198
|
+
await self.send_message(
|
199
|
+
ErrorMessage(
|
200
|
+
type="error",
|
201
|
+
id=operation_id,
|
202
|
+
payload={"message": f'Unknown operation named "{operation_name}".'},
|
203
|
+
)
|
204
|
+
)
|
196
205
|
except asyncio.CancelledError:
|
197
206
|
await self.send_message(CompleteMessage(type="complete", id=operation_id))
|
198
207
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/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
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/channels/handlers/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/channels/handlers/base.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/channels/handlers/ws_handler.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/commands/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/commands/codegen.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/commands/export_schema.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/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.270.1 → strawberry_graphql-0.270.3}/strawberry/cli/utils/load_schema.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/plugins/__init__.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/plugins/python.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/plugins/typescript.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codegen/query_codegen.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/codemods/annotated_unions.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/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.270.1 → strawberry_graphql-0.270.3}/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.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/exception.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/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
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/exceptions/utils/__init__.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/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.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/pydantic/fields.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/experimental/pydantic/utils.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/ext/dataclasses/LICENSE
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/ext/dataclasses/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/ext/dataclasses/dataclasses.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/base_extension.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/directives.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/field_extension.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/mask_errors.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/max_aliases.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/max_tokens.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/parser_cache.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/pyinstrument.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/tracing/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/tracing/apollo.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/tracing/datadog.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/tracing/utils.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/extensions/validation_cache.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.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/object_type.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/schema_directive.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/federation/schema_directives.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/field_extensions/__init__.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/file_uploads/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/file_uploads/scalars.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/async_base_view.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/parse_content_type.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/http/temporal_response.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.270.1 → strawberry_graphql-0.270.3}/strawberry/printer/ast_from_value.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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/name_converter.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/schema_converter.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/types/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/types/base_scalars.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema/types/concrete_type.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/schema_codegen/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/static/apollo-sandbox.html
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/subscriptions/__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
|
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.270.1 → strawberry_graphql-0.270.3}/strawberry/types/fields/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.270.1 → strawberry_graphql-0.270.3}/strawberry/types/fields/resolver.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
|
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.270.1 → strawberry_graphql-0.270.3}/strawberry/utils/str_converters.py
RENAMED
File without changes
|
File without changes
|