strawberry-graphql 0.167.0__tar.gz → 0.167.1__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.167.0 → strawberry_graphql-0.167.1}/PKG-INFO +1 -1
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/pyproject.toml +2 -2
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/chalice/views.py +1 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/django/views.py +2 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/pydantic/conversion.py +2 -2
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/pydantic/error_type.py +1 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/pydantic/object_type.py +1 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/ext/mypy_plugin.py +2 -1
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/context.py +1 -1
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/schema.py +7 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/sanic/context.py +1 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/sanic/views.py +2 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/name_converter.py +1 -1
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/schema.py +13 -9
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/schema_converter.py +1 -1
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/tools/merge_types.py +3 -1
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/types/fields/resolver.py +1 -1
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/types/info.py +1 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/types/type_resolver.py +1 -1
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/operation.py +1 -1
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/LICENSE +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/README.md +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/__main__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/aiohttp/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/aiohttp/handlers/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/aiohttp/handlers/graphql_transport_ws_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/aiohttp/handlers/graphql_ws_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/aiohttp/handlers/http_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/aiohttp/test/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/aiohttp/test/client.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/aiohttp/views.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/annotation.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/arguments.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/asgi/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/asgi/handlers/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/asgi/handlers/graphql_transport_ws_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/asgi/handlers/graphql_ws_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/asgi/handlers/http_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/asgi/test/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/asgi/test/client.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/auto.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/chalice/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/channels/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/channels/context.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/channels/handlers/base.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/channels/handlers/graphql_transport_ws_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/channels/handlers/graphql_ws_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/channels/handlers/http_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/channels/handlers/ws_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/channels/router.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/channels/testing.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/commands/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/commands/codegen.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/commands/export_schema.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/commands/server.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/constants.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/debug_server.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/utils/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/utils/load_schema.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/exceptions.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/plugins/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/plugins/print_operation.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/plugins/python.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/plugins/typescript.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/query_codegen.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/types.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/custom_scalar.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/dataloader.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/directive.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/django/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/django/apps.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/django/context.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/django/test/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/django/test/client.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/enum.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/duplicated_type_name.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/exception.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/exception_source.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/invalid_argument_type.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/invalid_union_type.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/missing_arguments_annotations.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/missing_field_annotation.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/missing_return_annotation.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/not_a_strawberry_enum.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/object_is_not_a_class.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/object_is_not_an_enum.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/private_strawberry_field.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/scalar_already_registered.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/syntax.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/unresolved_field_type.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/utils/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/utils/source_finder.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/pydantic/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/pydantic/conversion_types.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/pydantic/exceptions.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/pydantic/fields.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/pydantic/utils.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/ext/LICENSE +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/ext/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/ext/dataclasses/LICENSE +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/ext/dataclasses/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/ext/dataclasses/dataclasses.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/add_validation_rules.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/base_extension.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/directives.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/disable_validation.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/field_extension.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/mask_errors.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/parser_cache.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/query_depth_limiter.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/runner.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/tracing/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/tracing/apollo.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/tracing/datadog.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/tracing/opentelemetry.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/tracing/utils.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/utils.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/validation_cache.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/fastapi/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/fastapi/context.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/fastapi/handlers/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/fastapi/handlers/graphql_transport_ws_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/fastapi/handlers/graphql_ws_handler.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/fastapi/router.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/argument.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/enum.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/field.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/mutation.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/object_type.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/scalar.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/schema_directive.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/schema_directives.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/types.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/union.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/field.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/file_uploads/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/file_uploads/scalars.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/file_uploads/utils.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/flask/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/flask/graphiql.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/flask/views.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/http/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/http/temporal_response.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/lazy_type.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/mutation.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/object_type.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/permission.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/printer/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/printer/ast_from_value.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/printer/printer.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/private.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/py.typed +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/resolvers.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/sanic/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/sanic/graphiql.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/sanic/utils.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/scalars.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/base.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/compat.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/config.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/exceptions.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/execute.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/types/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/types/base_scalars.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/types/concrete_type.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/types/scalar.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema_directive.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/static/graphiql.html +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/subscriptions/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/subscriptions/protocols/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/subscriptions/protocols/graphql_transport_ws/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/subscriptions/protocols/graphql_transport_ws/handlers.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/subscriptions/protocols/graphql_transport_ws/types.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/subscriptions/protocols/graphql_ws/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/subscriptions/protocols/graphql_ws/handlers.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/subscriptions/protocols/graphql_ws/types.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/test/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/test/client.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/tools/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/tools/create_type.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/type.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/types/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/types/execution.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/types/fields/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/types/graphql.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/types/nodes.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/types/types.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/union.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/unset.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/__init__.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/await_maybe.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/cached_property.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/dataclasses.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/debug.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/graphiql.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/graphql_lexer.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/importer.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/inspect.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/logging.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/str_converters.py +0 -0
- {strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/typing.py +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "strawberry-graphql"
|
3
3
|
packages = [ { include = "strawberry" } ]
|
4
|
-
version = "0.167.
|
4
|
+
version = "0.167.1"
|
5
5
|
description = "A library for creating GraphQL APIs"
|
6
6
|
authors = ["Patrick Arminio <patrick.arminio@gmail.com>"]
|
7
7
|
license = "MIT"
|
@@ -312,7 +312,7 @@ src = ["strawberry", "tests"]
|
|
312
312
|
"tests/test_printer/test_basic.py" = ["E501"]
|
313
313
|
"tests/pyright/test_federation.py" = ["E501"]
|
314
314
|
"tests/test_printer/test_schema_directives.py" = ["E501"]
|
315
|
-
"tests/*" = ["RSE102", "SLF001", "TCH001", "TCH002", "TCH003", "ANN201"]
|
315
|
+
"tests/*" = ["RSE102", "SLF001", "TCH001", "TCH002", "TCH003", "ANN201", "PLW0603", "PLC1901"]
|
316
316
|
"strawberry/extensions/tracing/__init__.py" = ["TCH004"]
|
317
317
|
"tests/http/clients/__init__.py" = ["F401"]
|
318
318
|
|
@@ -85,6 +85,7 @@ class BaseView(View):
|
|
85
85
|
warnings.warn(
|
86
86
|
"json_dumps_params is deprecated, override encode_json instead",
|
87
87
|
DeprecationWarning,
|
88
|
+
stacklevel=2,
|
88
89
|
)
|
89
90
|
|
90
91
|
self.json_encoder = DjangoJSONEncoder
|
@@ -95,6 +96,7 @@ class BaseView(View):
|
|
95
96
|
warnings.warn(
|
96
97
|
"json_encoder is deprecated, override encode_json instead",
|
97
98
|
DeprecationWarning,
|
99
|
+
stacklevel=2,
|
98
100
|
)
|
99
101
|
|
100
102
|
def parse_body(self, request: HttpRequest) -> Dict[str, Any]:
|
@@ -70,8 +70,8 @@ def convert_pydantic_model_to_strawberry_class(
|
|
70
70
|
extra = extra or {}
|
71
71
|
kwargs = {}
|
72
72
|
|
73
|
-
for
|
74
|
-
field = cast("StrawberryField",
|
73
|
+
for field_ in cls._type_definition.fields:
|
74
|
+
field = cast("StrawberryField", field_)
|
75
75
|
python_name = field.python_name
|
76
76
|
|
77
77
|
data_from_extra = extra.get(python_name, None)
|
@@ -1038,7 +1038,8 @@ def plugin(version: str) -> typing.Type[StrawberryPlugin]:
|
|
1038
1038
|
else:
|
1039
1039
|
MypyVersion.VERSION = FALLBACK_VERSION
|
1040
1040
|
warnings.warn(
|
1041
|
-
f"Mypy version {version} could not be parsed. Reverting to v0.800"
|
1041
|
+
f"Mypy version {version} could not be parsed. Reverting to v0.800",
|
1042
|
+
stacklevel=1,
|
1042
1043
|
)
|
1043
1044
|
|
1044
1045
|
return StrawberryPlugin
|
@@ -68,7 +68,7 @@ class ExtensionContextManagerBase:
|
|
68
68
|
"{self.HOOK_NAME}"
|
69
69
|
)
|
70
70
|
elif is_legacy:
|
71
|
-
warnings.warn(self.DEPRECATION_MESSAGE, DeprecationWarning)
|
71
|
+
warnings.warn(self.DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=3)
|
72
72
|
return self.from_legacy(extension, on_start, on_end)
|
73
73
|
|
74
74
|
if hook_fn:
|
@@ -342,6 +342,13 @@ class Schema(BaseSchema):
|
|
342
342
|
resolve=self.entities_resolver,
|
343
343
|
)
|
344
344
|
|
345
|
+
def _warn_for_federation_directives(self) -> None:
|
346
|
+
# this is used in the main schema to raise if there's a directive
|
347
|
+
# that's for federation, but in this class we don't want to warn,
|
348
|
+
# since it is expected to have federation directives
|
349
|
+
|
350
|
+
pass
|
351
|
+
|
345
352
|
|
346
353
|
def _get_entity_type(type_map: "TypeMap"):
|
347
354
|
# https://www.apollographql.com/docs/apollo-server/federation/federation-spec/#resolve-requests-for-entities
|
@@ -69,12 +69,14 @@ class GraphQLView(HTTPMethodView):
|
|
69
69
|
warnings.warn(
|
70
70
|
"json_encoder is deprecated, override encode_json instead",
|
71
71
|
DeprecationWarning,
|
72
|
+
stacklevel=2,
|
72
73
|
)
|
73
74
|
|
74
75
|
if self.json_dumps_params is not None:
|
75
76
|
warnings.warn(
|
76
77
|
"json_dumps_params is deprecated, override encode_json instead",
|
77
78
|
DeprecationWarning,
|
79
|
+
stacklevel=2,
|
78
80
|
)
|
79
81
|
|
80
82
|
self.json_encoder = json.JSONEncoder
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/name_converter.py
RENAMED
@@ -101,7 +101,7 @@ class NameConverter:
|
|
101
101
|
|
102
102
|
for type_ in union.types:
|
103
103
|
if isinstance(type_, LazyType):
|
104
|
-
type_ = cast("StrawberryType", type_.resolve_type())
|
104
|
+
type_ = cast("StrawberryType", type_.resolve_type()) # noqa: PLW2901
|
105
105
|
|
106
106
|
if hasattr(type_, "_type_definition"):
|
107
107
|
type_name = self.from_type(type_._type_definition)
|
@@ -126,7 +126,7 @@ class Schema(BaseSchema):
|
|
126
126
|
else:
|
127
127
|
if hasattr(type_, "_type_definition"):
|
128
128
|
if type_._type_definition.is_generic:
|
129
|
-
type_ = StrawberryAnnotation(type_).resolve()
|
129
|
+
type_ = StrawberryAnnotation(type_).resolve() # noqa: PLW2901
|
130
130
|
graphql_type = self.schema_converter.from_maybe_optional(type_)
|
131
131
|
if isinstance(graphql_type, GraphQLNonNull):
|
132
132
|
graphql_type = graphql_type.of_type
|
@@ -309,19 +309,23 @@ class Schema(BaseSchema):
|
|
309
309
|
"""Raises a warning if the schema has any federation directives."""
|
310
310
|
from strawberry.federation.schema_directives import FederationDirective
|
311
311
|
|
312
|
+
all_types = self.schema_converter.type_map.values()
|
313
|
+
all_type_defs = (type_.definition for type_ in all_types)
|
314
|
+
|
315
|
+
all_directives = (
|
316
|
+
directive
|
317
|
+
for type_def in all_type_defs
|
318
|
+
for directive in (type_def.directives or [])
|
319
|
+
)
|
320
|
+
|
312
321
|
if any(
|
313
|
-
|
314
|
-
for type_ in self.schema_converter.type_map.values()
|
315
|
-
if any(
|
316
|
-
directive
|
317
|
-
for directive in (type_.definition.directives or [])
|
318
|
-
if isinstance(directive, FederationDirective)
|
319
|
-
)
|
322
|
+
isinstance(directive, FederationDirective) for directive in all_directives
|
320
323
|
):
|
321
324
|
warnings.warn(
|
322
325
|
"Federation directive found in schema. "
|
323
|
-
"
|
326
|
+
"Use `strawberry.federation.Schema` instead of `strawberry.Schema`.",
|
324
327
|
UserWarning,
|
328
|
+
stacklevel=3,
|
325
329
|
)
|
326
330
|
|
327
331
|
def as_str(self) -> str:
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/schema_converter.py
RENAMED
@@ -762,7 +762,7 @@ class GraphQLCoreConverter:
|
|
762
762
|
# both lazy types are always resolved because two different lazy types
|
763
763
|
# may be referencing the same actual type
|
764
764
|
if isinstance(type1, LazyType):
|
765
|
-
type1 = type1.resolve_type()
|
765
|
+
type1 = type1.resolve_type() # noqa: PLW2901
|
766
766
|
elif isinstance(type1, StrawberryOptional) and isinstance(
|
767
767
|
type1.of_type, LazyType
|
768
768
|
):
|
@@ -29,6 +29,8 @@ def merge_types(name: str, types: Tuple[type, ...]) -> type:
|
|
29
29
|
counter = Counter(f.name for f in fields)
|
30
30
|
dupes = [f for f, c in counter.most_common() if c > 1]
|
31
31
|
if dupes:
|
32
|
-
warnings.warn(
|
32
|
+
warnings.warn(
|
33
|
+
"{} has overridden fields: {}".format(name, ", ".join(dupes)), stacklevel=2
|
34
|
+
)
|
33
35
|
|
34
36
|
return strawberry.type(type(name, types, {}))
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/types/fields/resolver.py
RENAMED
@@ -125,7 +125,7 @@ class ReservedType(NamedTuple):
|
|
125
125
|
"their respective types (i.e. use value: 'DirectiveValue[str]' instead "
|
126
126
|
"of 'value: str' and 'info: Info' instead of a plain 'info')."
|
127
127
|
)
|
128
|
-
warnings.warn(warning)
|
128
|
+
warnings.warn(warning, stacklevel=3)
|
129
129
|
return reserved_name
|
130
130
|
else:
|
131
131
|
return None
|
@@ -157,7 +157,7 @@ def _get_fields(cls: Type) -> List[StrawberryField]:
|
|
157
157
|
)
|
158
158
|
|
159
159
|
# Create a StrawberryField, for fields of Types #1 and #2a
|
160
|
-
field = StrawberryField(
|
160
|
+
field = StrawberryField( # noqa: PLW2901
|
161
161
|
python_name=field.name,
|
162
162
|
graphql_name=None,
|
163
163
|
type_annotation=StrawberryAnnotation(
|
@@ -27,7 +27,7 @@ def get_operation_type(
|
|
27
27
|
|
28
28
|
if operation_name:
|
29
29
|
for d in graphql_document.definitions:
|
30
|
-
d = cast(OperationDefinitionNode, d)
|
30
|
+
d = cast(OperationDefinitionNode, d) # noqa: PLW2901
|
31
31
|
if d.name and d.name.value == operation_name:
|
32
32
|
definition = d
|
33
33
|
break
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/aiohttp/handlers/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/aiohttp/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.167.0 → strawberry_graphql-0.167.1}/strawberry/asgi/handlers/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/asgi/handlers/http_handler.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.167.0 → strawberry_graphql-0.167.1}/strawberry/channels/handlers/base.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/channels/handlers/ws_handler.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/commands/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/commands/codegen.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/commands/export_schema.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/cli/utils/load_schema.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/plugins/__init__.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/plugins/python.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/plugins/typescript.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/codegen/query_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.167.0 → strawberry_graphql-0.167.1}/strawberry/django/test/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/exception.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/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
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/exceptions/utils/__init__.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/pydantic/fields.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/experimental/pydantic/utils.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/ext/dataclasses/LICENSE
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/ext/dataclasses/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/ext/dataclasses/dataclasses.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/base_extension.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/directives.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/field_extension.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/mask_errors.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/parser_cache.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/tracing/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/tracing/apollo.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/tracing/datadog.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/tracing/utils.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/extensions/validation_cache.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/fastapi/handlers/__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.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/object_type.py
RENAMED
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/schema_directive.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/federation/schema_directives.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/file_uploads/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/file_uploads/scalars.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/http/temporal_response.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/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
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/types/__init__.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/types/base_scalars.py
RENAMED
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/schema/types/concrete_type.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/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
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/types/fields/__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
|
{strawberry_graphql-0.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/cached_property.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.167.0 → strawberry_graphql-0.167.1}/strawberry/utils/str_converters.py
RENAMED
File without changes
|
File without changes
|