strawberry-graphql 0.271.1__tar.gz → 0.271.2__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.
Files changed (236) hide show
  1. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/PKG-INFO +25 -32
  2. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/README.md +0 -11
  3. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/pyproject.toml +48 -71
  4. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/operation.py +3 -2
  5. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/LICENSE +0 -0
  6. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/__init__.py +0 -0
  7. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/__main__.py +0 -0
  8. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/aiohttp/__init__.py +0 -0
  9. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/aiohttp/test/__init__.py +0 -0
  10. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/aiohttp/test/client.py +0 -0
  11. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/aiohttp/views.py +0 -0
  12. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/annotation.py +0 -0
  13. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/asgi/__init__.py +0 -0
  14. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/asgi/test/__init__.py +0 -0
  15. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/asgi/test/client.py +0 -0
  16. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/chalice/__init__.py +0 -0
  17. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/chalice/views.py +0 -0
  18. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/channels/__init__.py +0 -0
  19. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/channels/handlers/__init__.py +0 -0
  20. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/channels/handlers/base.py +0 -0
  21. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/channels/handlers/http_handler.py +0 -0
  22. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/channels/handlers/ws_handler.py +0 -0
  23. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/channels/router.py +0 -0
  24. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/channels/testing.py +0 -0
  25. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/__init__.py +0 -0
  26. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/app.py +0 -0
  27. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/commands/__init__.py +0 -0
  28. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/commands/codegen.py +0 -0
  29. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/commands/export_schema.py +0 -0
  30. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/commands/schema_codegen.py +0 -0
  31. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/commands/server.py +0 -0
  32. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/commands/upgrade/__init__.py +0 -0
  33. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/commands/upgrade/_fake_progress.py +0 -0
  34. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/commands/upgrade/_run_codemod.py +0 -0
  35. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/constants.py +0 -0
  36. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/debug_server.py +0 -0
  37. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/utils/__init__.py +0 -0
  38. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/cli/utils/load_schema.py +0 -0
  39. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/codegen/__init__.py +0 -0
  40. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/codegen/exceptions.py +0 -0
  41. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/codegen/plugins/__init__.py +0 -0
  42. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/codegen/plugins/print_operation.py +0 -0
  43. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/codegen/plugins/python.py +0 -0
  44. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/codegen/plugins/typescript.py +0 -0
  45. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/codegen/query_codegen.py +0 -0
  46. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/codegen/types.py +0 -0
  47. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/codemods/__init__.py +0 -0
  48. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/codemods/annotated_unions.py +0 -0
  49. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/codemods/update_imports.py +0 -0
  50. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/dataloader.py +0 -0
  51. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/directive.py +0 -0
  52. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/django/__init__.py +0 -0
  53. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/django/apps.py +0 -0
  54. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/django/context.py +0 -0
  55. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/django/test/__init__.py +0 -0
  56. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/django/test/client.py +0 -0
  57. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/django/views.py +0 -0
  58. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/__init__.py +0 -0
  59. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/conflicting_arguments.py +0 -0
  60. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/duplicated_type_name.py +0 -0
  61. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/exception.py +0 -0
  62. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/exception_source.py +0 -0
  63. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/handler.py +0 -0
  64. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/invalid_argument_type.py +0 -0
  65. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/invalid_union_type.py +0 -0
  66. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/missing_arguments_annotations.py +0 -0
  67. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/missing_dependencies.py +0 -0
  68. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/missing_field_annotation.py +0 -0
  69. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/missing_return_annotation.py +0 -0
  70. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/object_is_not_a_class.py +0 -0
  71. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/object_is_not_an_enum.py +0 -0
  72. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/permission_fail_silently_requires_optional.py +0 -0
  73. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/private_strawberry_field.py +0 -0
  74. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/scalar_already_registered.py +0 -0
  75. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/syntax.py +0 -0
  76. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/unresolved_field_type.py +0 -0
  77. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/utils/__init__.py +0 -0
  78. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/exceptions/utils/source_finder.py +0 -0
  79. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/experimental/__init__.py +0 -0
  80. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/experimental/pydantic/__init__.py +0 -0
  81. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/experimental/pydantic/_compat.py +0 -0
  82. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/experimental/pydantic/conversion.py +0 -0
  83. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/experimental/pydantic/conversion_types.py +0 -0
  84. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/experimental/pydantic/error_type.py +0 -0
  85. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/experimental/pydantic/exceptions.py +0 -0
  86. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/experimental/pydantic/fields.py +0 -0
  87. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/experimental/pydantic/object_type.py +0 -0
  88. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/experimental/pydantic/utils.py +0 -0
  89. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/ext/LICENSE +0 -0
  90. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/ext/__init__.py +0 -0
  91. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/ext/dataclasses/LICENSE +0 -0
  92. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/ext/dataclasses/README.md +0 -0
  93. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/ext/dataclasses/__init__.py +0 -0
  94. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/ext/dataclasses/dataclasses.py +0 -0
  95. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/ext/mypy_plugin.py +0 -0
  96. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/__init__.py +0 -0
  97. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/add_validation_rules.py +0 -0
  98. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/base_extension.py +0 -0
  99. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/context.py +0 -0
  100. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/directives.py +0 -0
  101. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/disable_validation.py +0 -0
  102. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/field_extension.py +0 -0
  103. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/mask_errors.py +0 -0
  104. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/max_aliases.py +0 -0
  105. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/max_tokens.py +0 -0
  106. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/parser_cache.py +0 -0
  107. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/pyinstrument.py +0 -0
  108. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/query_depth_limiter.py +0 -0
  109. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/runner.py +0 -0
  110. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/tracing/__init__.py +0 -0
  111. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/tracing/apollo.py +0 -0
  112. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/tracing/datadog.py +0 -0
  113. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/tracing/opentelemetry.py +0 -0
  114. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/tracing/utils.py +0 -0
  115. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/utils.py +0 -0
  116. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/extensions/validation_cache.py +0 -0
  117. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/fastapi/__init__.py +0 -0
  118. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/fastapi/context.py +0 -0
  119. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/fastapi/router.py +0 -0
  120. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/__init__.py +0 -0
  121. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/argument.py +0 -0
  122. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/enum.py +0 -0
  123. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/field.py +0 -0
  124. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/mutation.py +0 -0
  125. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/object_type.py +0 -0
  126. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/scalar.py +0 -0
  127. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/schema.py +0 -0
  128. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/schema_directive.py +0 -0
  129. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/schema_directives.py +0 -0
  130. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/types.py +0 -0
  131. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/federation/union.py +0 -0
  132. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/field_extensions/__init__.py +0 -0
  133. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/field_extensions/input_mutation.py +0 -0
  134. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/file_uploads/__init__.py +0 -0
  135. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/file_uploads/scalars.py +0 -0
  136. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/file_uploads/utils.py +0 -0
  137. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/flask/__init__.py +0 -0
  138. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/flask/views.py +0 -0
  139. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/http/__init__.py +0 -0
  140. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/http/async_base_view.py +0 -0
  141. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/http/base.py +0 -0
  142. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/http/exceptions.py +0 -0
  143. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/http/ides.py +0 -0
  144. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/http/parse_content_type.py +0 -0
  145. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/http/sync_base_view.py +0 -0
  146. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/http/temporal_response.py +0 -0
  147. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/http/types.py +0 -0
  148. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/http/typevars.py +0 -0
  149. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/litestar/__init__.py +0 -0
  150. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/litestar/controller.py +0 -0
  151. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/parent.py +0 -0
  152. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/permission.py +0 -0
  153. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/printer/__init__.py +0 -0
  154. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/printer/ast_from_value.py +0 -0
  155. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/printer/printer.py +0 -0
  156. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/py.typed +0 -0
  157. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/quart/__init__.py +0 -0
  158. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/quart/views.py +0 -0
  159. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/relay/__init__.py +0 -0
  160. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/relay/exceptions.py +0 -0
  161. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/relay/fields.py +0 -0
  162. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/relay/types.py +0 -0
  163. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/relay/utils.py +0 -0
  164. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/resolvers.py +0 -0
  165. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/sanic/__init__.py +0 -0
  166. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/sanic/context.py +0 -0
  167. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/sanic/utils.py +0 -0
  168. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/sanic/views.py +0 -0
  169. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/scalars.py +0 -0
  170. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/__init__.py +0 -0
  171. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/base.py +0 -0
  172. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/compat.py +0 -0
  173. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/config.py +0 -0
  174. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/exceptions.py +0 -0
  175. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/name_converter.py +0 -0
  176. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/schema.py +0 -0
  177. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/schema_converter.py +0 -0
  178. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/types/__init__.py +0 -0
  179. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/types/base_scalars.py +0 -0
  180. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/types/concrete_type.py +0 -0
  181. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/types/scalar.py +0 -0
  182. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/validation_rules/__init__.py +0 -0
  183. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema/validation_rules/one_of.py +0 -0
  184. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema_codegen/__init__.py +0 -0
  185. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema_directive.py +0 -0
  186. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/schema_directives.py +0 -0
  187. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/static/apollo-sandbox.html +0 -0
  188. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/static/graphiql.html +0 -0
  189. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/static/pathfinder.html +0 -0
  190. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/subscriptions/__init__.py +0 -0
  191. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/subscriptions/protocols/__init__.py +0 -0
  192. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/subscriptions/protocols/graphql_transport_ws/__init__.py +0 -0
  193. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/subscriptions/protocols/graphql_transport_ws/handlers.py +0 -0
  194. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/subscriptions/protocols/graphql_transport_ws/types.py +0 -0
  195. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/subscriptions/protocols/graphql_ws/__init__.py +0 -0
  196. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/subscriptions/protocols/graphql_ws/handlers.py +0 -0
  197. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/subscriptions/protocols/graphql_ws/types.py +0 -0
  198. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/test/__init__.py +0 -0
  199. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/test/client.py +0 -0
  200. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/tools/__init__.py +0 -0
  201. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/tools/create_type.py +0 -0
  202. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/tools/merge_types.py +0 -0
  203. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/__init__.py +0 -0
  204. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/arguments.py +0 -0
  205. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/auto.py +0 -0
  206. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/base.py +0 -0
  207. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/cast.py +0 -0
  208. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/enum.py +0 -0
  209. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/execution.py +0 -0
  210. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/field.py +0 -0
  211. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/fields/__init__.py +0 -0
  212. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/fields/resolver.py +0 -0
  213. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/graphql.py +0 -0
  214. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/info.py +0 -0
  215. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/lazy_type.py +0 -0
  216. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/maybe.py +0 -0
  217. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/mutation.py +0 -0
  218. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/nodes.py +0 -0
  219. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/object_type.py +0 -0
  220. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/private.py +0 -0
  221. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/scalar.py +0 -0
  222. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/type_resolver.py +0 -0
  223. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/union.py +0 -0
  224. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/types/unset.py +0 -0
  225. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/__init__.py +0 -0
  226. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/aio.py +0 -0
  227. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/await_maybe.py +0 -0
  228. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/dataclasses.py +0 -0
  229. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/debug.py +0 -0
  230. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/deprecations.py +0 -0
  231. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/graphql_lexer.py +0 -0
  232. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/importer.py +0 -0
  233. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/inspect.py +0 -0
  234. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/logging.py +0 -0
  235. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/str_converters.py +0 -0
  236. {strawberry_graphql-0.271.1 → strawberry_graphql-0.271.2}/strawberry/utils/typing.py +0 -0
@@ -1,23 +1,17 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: strawberry-graphql
3
- Version: 0.271.1
3
+ Version: 0.271.2
4
4
  Summary: A library for creating GraphQL APIs
5
5
  License: MIT
6
6
  Keywords: graphql,api,rest,starlette,async
7
7
  Author: Patrick Arminio
8
8
  Author-email: patrick.arminio@gmail.com
9
- Requires-Python: >=3.9
9
+ Requires-Python: >=3.9,<4.0
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: MIT License
13
- Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.9
15
- Classifier: Programming Language :: Python :: 3.10
16
- Classifier: Programming Language :: Python :: 3.11
17
- Classifier: Programming Language :: Python :: 3.12
18
- Classifier: Programming Language :: Python :: 3.13
19
12
  Classifier: Topic :: Software Development :: Libraries
20
13
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
+ Classifier: License :: OSI Approved :: MIT License
21
15
  Provides-Extra: aiohttp
22
16
  Provides-Extra: asgi
23
17
  Provides-Extra: chalice
@@ -35,31 +29,41 @@ Provides-Extra: pyinstrument
35
29
  Provides-Extra: quart
36
30
  Provides-Extra: sanic
37
31
  Requires-Dist: Django (>=3.2) ; extra == "django"
38
- Requires-Dist: aiohttp (>=3.7.4.post0,<4.0.0) ; extra == "aiohttp"
39
- Requires-Dist: asgiref (>=3.2,<4.0) ; extra == "django" or extra == "channels"
32
+ Requires-Dist: aiohttp (>=3.7.4.post0,<4) ; extra == "aiohttp"
33
+ Requires-Dist: asgiref (>=3.2,<4.0) ; extra == "channels"
34
+ Requires-Dist: asgiref (>=3.2,<4.0) ; extra == "django"
40
35
  Requires-Dist: chalice (>=1.22,<2.0) ; extra == "chalice"
41
36
  Requires-Dist: channels (>=3.0.5) ; extra == "channels"
42
37
  Requires-Dist: fastapi (>=0.65.2) ; extra == "fastapi"
43
38
  Requires-Dist: flask (>=1.1) ; extra == "flask"
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,<1.8.0) ; extra == "debug" or extra == "debug-server" or extra == "cli"
46
- Requires-Dist: litestar (>=2) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "litestar")
39
+ Requires-Dist: graphql-core (>=3.2.0,<3.4.0)
40
+ Requires-Dist: libcst (>=0.4.7,<1.8.0) ; extra == "cli"
41
+ Requires-Dist: libcst (>=0.4.7,<1.8.0) ; extra == "debug"
42
+ Requires-Dist: libcst (>=0.4.7,<1.8.0) ; extra == "debug-server"
43
+ Requires-Dist: litestar (>=2) ; (python_version ~= "3.10") and (extra == "litestar")
47
44
  Requires-Dist: opentelemetry-api (<2) ; extra == "opentelemetry"
48
45
  Requires-Dist: opentelemetry-sdk (<2) ; extra == "opentelemetry"
49
46
  Requires-Dist: packaging (>=23)
50
47
  Requires-Dist: pydantic (>1.6.1) ; extra == "pydantic"
51
- Requires-Dist: pygments (>=2.3,<3.0) ; extra == "debug-server" or extra == "cli"
48
+ Requires-Dist: pygments (>=2.3,<3.0) ; extra == "cli"
49
+ Requires-Dist: pygments (>=2.3,<3.0) ; extra == "debug-server"
52
50
  Requires-Dist: pyinstrument (>=4.0.0) ; extra == "pyinstrument"
53
- Requires-Dist: python-dateutil (>=2.7.0,<3.0.0)
54
- Requires-Dist: python-multipart (>=0.0.7) ; extra == "asgi" or extra == "debug-server" or extra == "fastapi"
51
+ Requires-Dist: python-dateutil (>=2.7,<3.0)
52
+ Requires-Dist: python-multipart (>=0.0.7) ; extra == "asgi"
53
+ Requires-Dist: python-multipart (>=0.0.7) ; extra == "debug-server"
54
+ Requires-Dist: python-multipart (>=0.0.7) ; extra == "fastapi"
55
55
  Requires-Dist: quart (>=0.19.3) ; extra == "quart"
56
- Requires-Dist: rich (>=12.0.0) ; extra == "debug" or extra == "debug-server" or extra == "cli"
56
+ Requires-Dist: rich (>=12.0.0) ; extra == "cli"
57
+ Requires-Dist: rich (>=12.0.0) ; extra == "debug"
58
+ Requires-Dist: rich (>=12.0.0) ; extra == "debug-server"
57
59
  Requires-Dist: sanic (>=20.12.2) ; extra == "sanic"
58
- Requires-Dist: starlette (>=0.18.0) ; extra == "asgi" or extra == "debug-server"
59
- Requires-Dist: typer (>=0.7.0) ; extra == "debug-server" or extra == "cli"
60
+ Requires-Dist: starlette (>=0.18.0) ; extra == "asgi"
61
+ Requires-Dist: starlette (>=0.18.0) ; extra == "debug-server"
62
+ Requires-Dist: typer (>=0.7.0) ; extra == "cli"
63
+ Requires-Dist: typer (>=0.7.0) ; extra == "debug-server"
60
64
  Requires-Dist: typing-extensions (>=4.5.0)
61
65
  Requires-Dist: uvicorn (>=0.11.6) ; extra == "debug-server"
62
- Requires-Dist: websockets (>=15.0.1,<16.0.0) ; extra == "debug-server"
66
+ Requires-Dist: websockets (>=15.0.1,<16) ; extra == "debug-server"
63
67
  Project-URL: Changelog, https://strawberry.rocks/changelog
64
68
  Project-URL: Documentation, https://strawberry.rocks/
65
69
  Project-URL: Discord, https://discord.com/invite/3uQ2PaY
@@ -166,17 +170,6 @@ urlpatterns = [
166
170
  ]
167
171
  ```
168
172
 
169
- ## WebSockets
170
-
171
- To support graphql Subscriptions over WebSockets you need to provide a WebSocket
172
- enabled server. The debug server can be made to support WebSockets with these
173
- commands:
174
-
175
- ```shell
176
- pip install 'strawberry-graphql[debug-server]'
177
- pip install 'uvicorn[standard]'
178
- ```
179
-
180
173
  ## Examples
181
174
 
182
175
  * [Various examples on how to use Strawberry](https://github.com/strawberry-graphql/examples)
@@ -93,17 +93,6 @@ urlpatterns = [
93
93
  ]
94
94
  ```
95
95
 
96
- ## WebSockets
97
-
98
- To support graphql Subscriptions over WebSockets you need to provide a WebSocket
99
- enabled server. The debug server can be made to support WebSockets with these
100
- commands:
101
-
102
- ```shell
103
- pip install 'strawberry-graphql[debug-server]'
104
- pip install 'uvicorn[standard]'
105
- ```
106
-
107
96
  ## Examples
108
97
 
109
98
  * [Various examples on how to use Strawberry](https://github.com/strawberry-graphql/examples)
@@ -1,15 +1,11 @@
1
- [tool.poetry]
1
+ [project]
2
2
  name = "strawberry-graphql"
3
- version = "0.271.1"
4
- packages = [{ include = "strawberry" }]
3
+ version = "0.271.2"
5
4
  description = "A library for creating GraphQL APIs"
6
- authors = ["Patrick Arminio <patrick.arminio@gmail.com>"]
7
- license = "MIT"
5
+ authors = [{ name = "Patrick Arminio", email = "patrick.arminio@gmail.com" }]
6
+ license = { text = "MIT" }
8
7
  readme = "README.md"
9
8
  keywords = ["graphql", "api", "rest", "starlette", "async"]
10
- homepage = "https://strawberry.rocks/"
11
- repository = "https://github.com/strawberry-graphql/strawberry"
12
- documentation = "https://strawberry.rocks/"
13
9
  classifiers = [
14
10
  "Development Status :: 5 - Production/Stable",
15
11
  "Intended Audience :: Developers",
@@ -17,9 +13,18 @@ classifiers = [
17
13
  "Topic :: Software Development :: Libraries :: Python Modules",
18
14
  "License :: OSI Approved :: MIT License",
19
15
  ]
20
- include = ["strawberry/py.typed"]
16
+ requires-python = ">=3.9,<4.0"
17
+ dependencies = [
18
+ "graphql-core>=3.2.0,<3.4.0",
19
+ "typing-extensions>=4.5.0",
20
+ "python-dateutil~=2.7",
21
+ "packaging>=23",
22
+ ]
21
23
 
22
- [tool.poetry.urls]
24
+ [project.urls]
25
+ homepage = "https://strawberry.rocks/"
26
+ repository = "https://github.com/strawberry-graphql/strawberry"
27
+ documentation = "https://strawberry.rocks/"
23
28
  "Changelog" = "https://strawberry.rocks/changelog"
24
29
  "Discord" = "https://discord.com/invite/3uQ2PaY"
25
30
  "Twitter" = "https://twitter.com/strawberry_gql"
@@ -27,34 +32,39 @@ include = ["strawberry/py.typed"]
27
32
  "Sponsor on GitHub" = "https://github.com/sponsors/strawberry-graphql"
28
33
  "Sponsor on Open Collective" = "https://opencollective.com/strawberry-graphql"
29
34
 
30
- [tool.poetry.dependencies]
31
- python = ">=3.9"
32
- graphql-core = { version = ">=3.2.0,<3.4.0", python = ">=3.9,<4.0" }
33
- typing-extensions = ">=4.5.0"
34
- python-dateutil = "^2.7.0"
35
- packaging = ">=23"
36
- starlette = { version = ">=0.18.0", optional = true }
37
- typer = { version = ">=0.7.0", optional = true }
38
- pygments = { version = "^2.3", optional = true }
39
- uvicorn = { version = ">=0.11.6", optional = true }
40
- Django = { version = ">=3.2", optional = true }
41
- asgiref = { version = "^3.2", optional = true }
42
- flask = { version = ">=1.1", optional = true }
43
- quart = { version = ">=0.19.3", optional = true }
44
- opentelemetry-api = { version = "<2", optional = true }
45
- opentelemetry-sdk = { version = "<2", optional = true }
46
- chalice = { version = "^1.22", optional = true }
47
- pydantic = { version = ">1.6.1", optional = true }
48
- python-multipart = { version = ">=0.0.7", optional = true }
49
- sanic = { version = ">=20.12.2", optional = true }
50
- aiohttp = { version = "^3.7.4.post0", optional = true }
51
- fastapi = { version = ">=0.65.2", optional = true }
52
- litestar = { version = ">=2", python = ">=3.10,<4.0", optional = true }
53
- channels = { version = ">=3.0.5", optional = true }
54
- libcst = { version = ">=0.4.7,<1.8.0", optional = true }
55
- rich = { version = ">=12.0.0", optional = true }
56
- pyinstrument = { version = ">=4.0.0", optional = true }
57
- websockets = { version = "^15.0.1", optional = true }
35
+ [project.scripts]
36
+ strawberry = "strawberry.cli:run"
37
+
38
+ [project.optional-dependencies]
39
+ aiohttp = ["aiohttp>=3.7.4.post0,<4"]
40
+ asgi = ["starlette>=0.18.0", "python-multipart>=0.0.7"]
41
+ debug = ["rich>=12.0.0", "libcst>=0.4.7,<1.8.0"]
42
+ debug-server = [
43
+ "starlette>=0.18.0",
44
+ "uvicorn>=0.11.6",
45
+ "websockets>=15.0.1,<16",
46
+ "python-multipart>=0.0.7",
47
+ "typer>=0.7.0",
48
+ "pygments~=2.3",
49
+ "rich>=12.0.0",
50
+ "libcst>=0.4.7,<1.8.0",
51
+ ]
52
+ django = ["Django>=3.2", "asgiref~=3.2"]
53
+ channels = ["channels>=3.0.5", "asgiref~=3.2"]
54
+ flask = ["flask>=1.1"]
55
+ quart = ["quart>=0.19.3"]
56
+ opentelemetry = ["opentelemetry-api<2", "opentelemetry-sdk<2"]
57
+ pydantic = ["pydantic>1.6.1"]
58
+ sanic = ["sanic>=20.12.2"]
59
+ fastapi = ["fastapi>=0.65.2", "python-multipart>=0.0.7"]
60
+ chalice = ["chalice~=1.22"]
61
+ cli = ["typer>=0.7.0", "pygments~=2.3", "rich>=12.0.0", "libcst>=0.4.7,<1.8.0"]
62
+ litestar = ["litestar>=2; python_version~='3.10'"]
63
+ pyinstrument = ["pyinstrument>=4.0.0"]
64
+
65
+ [tool.poetry]
66
+ packages = [{ include = "strawberry" }]
67
+ include = ["strawberry/py.typed"]
58
68
 
59
69
  [tool.poetry.group.dev.dependencies]
60
70
  ruff = "^0.11.4"
@@ -93,7 +103,6 @@ types-protobuf = "^5.29.1.20250403"
93
103
  poetry-plugin-export = { version = "^1.6.0", python = "<4.0", optional = false }
94
104
  # another bug in poetry
95
105
  urllib3 = "<2"
96
- graphlib_backport = { version = "*", python = "<3.9", optional = false }
97
106
  inline-snapshot = "^0.10.1"
98
107
  types-deprecated = "^1.2.15.20241117"
99
108
  types-six = "^1.17.0.20250403"
@@ -121,38 +130,6 @@ litestar = { version = ">=2", python = ">=3.10,<4.0", optional = false }
121
130
  uvicorn = ">=0.11.6"
122
131
  daphne = "^4.0.0"
123
132
 
124
-
125
- [tool.poetry.extras]
126
- aiohttp = ["aiohttp"]
127
- asgi = ["starlette", "python-multipart"]
128
- debug = ["rich", "libcst"]
129
- debug-server = [
130
- "starlette",
131
- "uvicorn",
132
- "websockets",
133
- "python-multipart",
134
- "typer",
135
- "pygments",
136
- "rich",
137
- "libcst",
138
- ]
139
- django = ["Django", "pytest-django", "asgiref"]
140
- channels = ["channels", "asgiref"]
141
- flask = ["flask"]
142
- quart = ["quart"]
143
- opentelemetry = ["opentelemetry-api", "opentelemetry-sdk"]
144
- pydantic = ["pydantic"]
145
- sanic = ["sanic"]
146
- fastapi = ["fastapi", "python-multipart"]
147
- chalice = ["chalice"]
148
- cli = ["typer", "pygments", "rich", "libcst", "graphlib_backport"]
149
- litestar = ["litestar"]
150
- pyinstrument = ["pyinstrument"]
151
-
152
- [tool.poetry.scripts]
153
- strawberry = "strawberry.cli:run"
154
-
155
-
156
133
  [tool.pytest.ini_options]
157
134
  addopts = "--emoji"
158
135
  DJANGO_SETTINGS_MODULE = "tests.django.django_settings"
@@ -1,6 +1,6 @@
1
1
  from __future__ import annotations
2
2
 
3
- from typing import TYPE_CHECKING, Optional, cast
3
+ from typing import TYPE_CHECKING, Optional
4
4
 
5
5
  from graphql.language import OperationDefinitionNode
6
6
 
@@ -27,7 +27,8 @@ 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
+ if not isinstance(d, OperationDefinitionNode):
31
+ continue
31
32
  if d.name and d.name.value == operation_name:
32
33
  definition = d
33
34
  break