strawberry-graphql 0.222.0__py3-none-any.whl → 0.223.0__py3-none-any.whl

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.
@@ -2,6 +2,7 @@
2
2
 
3
3
  A consumer to provide a graphql endpoint, and optionally graphiql.
4
4
  """
5
+
5
6
  from __future__ import annotations
6
7
 
7
8
  import dataclasses
@@ -74,7 +74,9 @@ def _serialize_dataclasses(value: Dict[_T, object]) -> Dict[_T, object]:
74
74
 
75
75
 
76
76
  @overload
77
- def _serialize_dataclasses(value: Union[List[object], Tuple[object]]) -> List[object]:
77
+ def _serialize_dataclasses(
78
+ value: Union[List[object], Tuple[object]],
79
+ ) -> List[object]:
78
80
  ...
79
81
 
80
82
 
@@ -2,6 +2,9 @@ from __future__ import annotations
2
2
 
3
3
  import dataclasses
4
4
  import keyword
5
+ from collections import defaultdict
6
+ from typing import TYPE_CHECKING, List, Tuple, Union
7
+ from typing_extensions import Protocol, TypeAlias
5
8
 
6
9
  import libcst as cst
7
10
  from graphql import (
@@ -19,14 +22,28 @@ from graphql import (
19
22
  OperationType,
20
23
  ScalarTypeDefinitionNode,
21
24
  SchemaDefinitionNode,
25
+ SchemaExtensionNode,
22
26
  StringValueNode,
23
27
  TypeNode,
24
28
  UnionTypeDefinitionNode,
25
29
  parse,
26
30
  )
31
+ from graphql.language.ast import (
32
+ BooleanValueNode,
33
+ ConstValueNode,
34
+ ListValueNode,
35
+ )
27
36
 
28
37
  from strawberry.utils.str_converters import to_snake_case
29
38
 
39
+ if TYPE_CHECKING:
40
+ from graphql.language.ast import ConstDirectiveNode
41
+
42
+
43
+ class HasDirectives(Protocol):
44
+ directives: Tuple[ConstDirectiveNode, ...]
45
+
46
+
30
47
  _SCALAR_MAP = {
31
48
  "Int": cst.Name("int"),
32
49
  "Float": cst.Name("float"),
@@ -48,6 +65,48 @@ _SCALAR_MAP = {
48
65
  }
49
66
 
50
67
 
68
+ @dataclasses.dataclass(frozen=True)
69
+ class Import:
70
+ module: str | None
71
+ imports: tuple[str]
72
+
73
+ def module_path_to_cst(self, module_path: str) -> cst.Name | cst.Attribute:
74
+ parts = module_path.split(".")
75
+
76
+ module_name: cst.Name | cst.Attribute = cst.Name(parts[0])
77
+
78
+ for part in parts[1:]:
79
+ module_name = cst.Attribute(value=module_name, attr=cst.Name(part))
80
+
81
+ return module_name
82
+
83
+ def to_cst(self) -> cst.Import | cst.ImportFrom:
84
+ if self.module is None:
85
+ return cst.Import(
86
+ names=[cst.ImportAlias(name=cst.Name(name)) for name in self.imports]
87
+ )
88
+
89
+ return cst.ImportFrom(
90
+ module=self.module_path_to_cst(self.module),
91
+ names=[cst.ImportAlias(name=cst.Name(name)) for name in self.imports],
92
+ )
93
+
94
+
95
+ def _is_federation_link_directive(directive: ConstDirectiveNode) -> bool:
96
+ if directive.name.value != "link":
97
+ return False
98
+
99
+ return next(
100
+ (
101
+ argument.value.value
102
+ for argument in directive.arguments
103
+ if argument.name.value == "url"
104
+ if isinstance(argument.value, StringValueNode)
105
+ ),
106
+ "",
107
+ ).startswith("https://specs.apollo.dev/federation")
108
+
109
+
51
110
  def _get_field_type(
52
111
  field_type: TypeNode, was_non_nullable: bool = False
53
112
  ) -> cst.BaseExpression:
@@ -85,7 +144,19 @@ def _get_field_type(
85
144
  )
86
145
 
87
146
 
88
- def _get_argument(name: str, value: str) -> cst.Arg:
147
+ def _sanitize_argument(value: ArgumentValue) -> cst.SimpleString | cst.Name | cst.List:
148
+ if isinstance(value, bool):
149
+ return cst.Name(value=str(value))
150
+
151
+ if isinstance(value, list):
152
+ return cst.List(
153
+ elements=[
154
+ cst.Element(value=_sanitize_argument(item))
155
+ for item in value
156
+ if item is not None
157
+ ],
158
+ )
159
+
89
160
  if "\n" in value:
90
161
  argument_value = cst.SimpleString(f'"""\n{value}\n"""')
91
162
  elif '"' in value:
@@ -93,6 +164,12 @@ def _get_argument(name: str, value: str) -> cst.Arg:
93
164
  else:
94
165
  argument_value = cst.SimpleString(f'"{value}"')
95
166
 
167
+ return argument_value
168
+
169
+
170
+ def _get_argument(name: str, value: ArgumentValue) -> cst.Arg:
171
+ argument_value = _sanitize_argument(value)
172
+
96
173
  return cst.Arg(
97
174
  value=argument_value,
98
175
  keyword=cst.Name(name),
@@ -100,7 +177,27 @@ def _get_argument(name: str, value: str) -> cst.Arg:
100
177
  )
101
178
 
102
179
 
103
- def _get_field_value(description: str | None, alias: str | None) -> cst.Call | None:
180
+ # TODO: this might be removed now
181
+ def _get_argument_list(name: str, values: list[ArgumentValue]) -> cst.Arg:
182
+ value = cst.List(
183
+ elements=[cst.Element(value=_sanitize_argument(value)) for value in values],
184
+ )
185
+
186
+ return cst.Arg(
187
+ value=value,
188
+ keyword=cst.Name(name),
189
+ equal=cst.AssignEqual(cst.SimpleWhitespace(""), cst.SimpleWhitespace("")),
190
+ )
191
+
192
+
193
+ def _get_field_value(
194
+ field: FieldDefinitionNode | InputValueDefinitionNode,
195
+ alias: str | None,
196
+ is_apollo_federation: bool,
197
+ imports: set[Import],
198
+ ) -> cst.Call | None:
199
+ description = field.description.value if field.description else None
200
+
104
201
  args = list(
105
202
  filter(
106
203
  None,
@@ -111,6 +208,24 @@ def _get_field_value(description: str | None, alias: str | None) -> cst.Call | N
111
208
  )
112
209
  )
113
210
 
211
+ directives = _get_directives(field)
212
+
213
+ apollo_federation_args = _get_federation_arguments(directives, imports)
214
+
215
+ if is_apollo_federation and apollo_federation_args:
216
+ args.extend(apollo_federation_args)
217
+
218
+ return cst.Call(
219
+ func=cst.Attribute(
220
+ value=cst.Attribute(
221
+ value=cst.Name("strawberry"),
222
+ attr=cst.Name("federation"),
223
+ ),
224
+ attr=cst.Name("field"),
225
+ ),
226
+ args=args,
227
+ )
228
+
114
229
  if args:
115
230
  return cst.Call(
116
231
  func=cst.Attribute(
@@ -125,6 +240,8 @@ def _get_field_value(description: str | None, alias: str | None) -> cst.Call | N
125
240
 
126
241
  def _get_field(
127
242
  field: FieldDefinitionNode | InputValueDefinitionNode,
243
+ is_apollo_federation: bool,
244
+ imports: set[Import],
128
245
  ) -> cst.SimpleStatementLine:
129
246
  name = to_snake_case(field.name.value)
130
247
  alias: str | None = None
@@ -141,19 +258,131 @@ def _get_field(
141
258
  _get_field_type(field.type),
142
259
  ),
143
260
  value=_get_field_value(
144
- description=field.description.value if field.description else None,
145
- alias=alias if alias != name else None,
261
+ field,
262
+ alias=alias,
263
+ is_apollo_federation=is_apollo_federation,
264
+ imports=imports,
146
265
  ),
147
266
  )
148
267
  ]
149
268
  )
150
269
 
151
270
 
271
+ ArgumentValue: TypeAlias = Union[str, bool, List["ArgumentValue"]]
272
+
273
+
274
+ def _get_argument_value(argument_value: ConstValueNode) -> ArgumentValue:
275
+ if isinstance(argument_value, StringValueNode):
276
+ return argument_value.value
277
+ elif isinstance(argument_value, EnumValueDefinitionNode):
278
+ return argument_value.name.value
279
+ elif isinstance(argument_value, ListValueNode):
280
+ return [_get_argument_value(arg) for arg in argument_value.values]
281
+ elif isinstance(argument_value, BooleanValueNode):
282
+ return argument_value.value
283
+ else:
284
+ raise NotImplementedError(f"Unknown argument value {argument_value}")
285
+
286
+
287
+ def _get_directives(
288
+ definition: HasDirectives,
289
+ ) -> dict[str, list[dict[str, ArgumentValue]]]:
290
+ directives: dict[str, list[dict[str, ArgumentValue]]] = defaultdict(list)
291
+
292
+ for directive in definition.directives:
293
+ directive_name = directive.name.value
294
+
295
+ directives[directive_name].append(
296
+ {
297
+ argument.name.value: _get_argument_value(argument.value)
298
+ for argument in directive.arguments
299
+ }
300
+ )
301
+
302
+ return directives
303
+
304
+
305
+ def _get_federation_arguments(
306
+ directives: dict[str, list[dict[str, ArgumentValue]]],
307
+ imports: set[Import],
308
+ ) -> list[cst.Arg]:
309
+ def append_arg_from_directive(
310
+ directive: str,
311
+ argument_name: str,
312
+ keyword_name: str | None = None,
313
+ flatten: bool = True,
314
+ ):
315
+ keyword_name = keyword_name or directive
316
+
317
+ if directive in directives:
318
+ values = [item[argument_name] for item in directives[directive]]
319
+
320
+ if flatten:
321
+ arguments.append(_get_argument(keyword_name, values))
322
+ else:
323
+ arguments.extend(_get_argument(keyword_name, value) for value in values)
324
+
325
+ arguments: list[cst.Arg] = []
326
+
327
+ append_arg_from_directive("key", "fields", "keys")
328
+ append_arg_from_directive("requires", "fields")
329
+ append_arg_from_directive("provides", "fields")
330
+ append_arg_from_directive(
331
+ "requiresScopes", "scopes", "requires_scopes", flatten=False
332
+ )
333
+ append_arg_from_directive("policy", "policies", "policy", flatten=False)
334
+ append_arg_from_directive("tag", "name", "tags")
335
+
336
+ boolean_keys = (
337
+ "shareable",
338
+ "inaccessible",
339
+ "external",
340
+ "authenticated",
341
+ )
342
+
343
+ arguments.extend(
344
+ _get_argument(key, True) for key in boolean_keys if directives.get(key, False)
345
+ )
346
+
347
+ if overrides := directives.get("override"):
348
+ override = overrides[0]
349
+
350
+ if "label" not in override:
351
+ arguments.append(_get_argument("override", override["from"]))
352
+ else:
353
+ imports.add(
354
+ Import(
355
+ module="strawberry.federation.schema_directives",
356
+ imports=("Override",),
357
+ )
358
+ )
359
+
360
+ arguments.append(
361
+ cst.Arg(
362
+ keyword=cst.Name("override"),
363
+ value=cst.Call(
364
+ func=cst.Name("Override"),
365
+ args=[
366
+ _get_argument("override_from", override["from"]),
367
+ _get_argument("label", override["label"]),
368
+ ],
369
+ ),
370
+ equal=cst.AssignEqual(
371
+ cst.SimpleWhitespace(""), cst.SimpleWhitespace("")
372
+ ),
373
+ )
374
+ )
375
+
376
+ return arguments
377
+
378
+
152
379
  def _get_strawberry_decorator(
153
380
  definition: ObjectTypeDefinitionNode
154
381
  | ObjectTypeExtensionNode
155
382
  | InterfaceTypeDefinitionNode
156
383
  | InputObjectTypeDefinitionNode,
384
+ is_apollo_federation: bool,
385
+ imports: set[Import],
157
386
  ) -> cst.Decorator:
158
387
  type_ = {
159
388
  ObjectTypeDefinitionNode: "type",
@@ -168,15 +397,36 @@ def _get_strawberry_decorator(
168
397
  else None
169
398
  )
170
399
 
400
+ directives = _get_directives(definition)
401
+
171
402
  decorator: cst.BaseExpression = cst.Attribute(
172
403
  value=cst.Name("strawberry"),
173
404
  attr=cst.Name(type_),
174
405
  )
175
406
 
407
+ arguments: list[cst.Arg] = []
408
+
176
409
  if description is not None:
410
+ arguments.append(_get_argument("description", description.value))
411
+
412
+ federation_arguments = _get_federation_arguments(directives, imports)
413
+
414
+ # and has any directive that is a federation directive
415
+ if is_apollo_federation and federation_arguments:
416
+ decorator = cst.Attribute(
417
+ value=cst.Attribute(
418
+ value=cst.Name("strawberry"),
419
+ attr=cst.Name("federation"),
420
+ ),
421
+ attr=cst.Name(type_),
422
+ )
423
+
424
+ arguments.extend(federation_arguments)
425
+
426
+ if arguments:
177
427
  decorator = cst.Call(
178
428
  func=decorator,
179
- args=[_get_argument("description", description.value)],
429
+ args=arguments,
180
430
  )
181
431
 
182
432
  return cst.Decorator(
@@ -189,8 +439,10 @@ def _get_class_definition(
189
439
  | ObjectTypeExtensionNode
190
440
  | InterfaceTypeDefinitionNode
191
441
  | InputObjectTypeDefinitionNode,
442
+ is_apollo_federation: bool,
443
+ imports: set[Import],
192
444
  ) -> cst.ClassDef:
193
- decorator = _get_strawberry_decorator(definition)
445
+ decorator = _get_strawberry_decorator(definition, is_apollo_federation, imports)
194
446
 
195
447
  bases = (
196
448
  [cst.Arg(cst.Name(interface.name.value)) for interface in definition.interfaces]
@@ -204,7 +456,12 @@ def _get_class_definition(
204
456
  return cst.ClassDef(
205
457
  name=cst.Name(definition.name.value),
206
458
  bases=bases,
207
- body=cst.IndentedBlock(body=[_get_field(field) for field in definition.fields]),
459
+ body=cst.IndentedBlock(
460
+ body=[
461
+ _get_field(field, is_apollo_federation, imports)
462
+ for field in definition.fields
463
+ ]
464
+ ),
208
465
  decorators=[decorator],
209
466
  )
210
467
 
@@ -243,6 +500,7 @@ def _get_schema_definition(
243
500
  root_query_name: str | None,
244
501
  root_mutation_name: str | None,
245
502
  root_subscription_name: str | None,
503
+ is_apollo_federation: bool,
246
504
  ) -> cst.SimpleStatementLine | None:
247
505
  if not any([root_query_name, root_mutation_name, root_subscription_name]):
248
506
  return None
@@ -265,39 +523,45 @@ def _get_schema_definition(
265
523
  if root_subscription_name:
266
524
  args.append(_get_arg("subscription", root_subscription_name))
267
525
 
526
+ schema_call = cst.Call(
527
+ func=cst.Attribute(
528
+ value=cst.Name("strawberry"),
529
+ attr=cst.Name("Schema"),
530
+ ),
531
+ args=args,
532
+ )
533
+
534
+ if is_apollo_federation:
535
+ args.append(
536
+ cst.Arg(
537
+ keyword=cst.Name("enable_federation_2"),
538
+ value=cst.Name("True"),
539
+ equal=cst.AssignEqual(
540
+ cst.SimpleWhitespace(""), cst.SimpleWhitespace("")
541
+ ),
542
+ )
543
+ )
544
+ schema_call = cst.Call(
545
+ func=cst.Attribute(
546
+ value=cst.Attribute(
547
+ value=cst.Name(value="strawberry"),
548
+ attr=cst.Name(value="federation"),
549
+ ),
550
+ attr=cst.Name(value="Schema"),
551
+ ),
552
+ args=args,
553
+ )
554
+
268
555
  return cst.SimpleStatementLine(
269
556
  body=[
270
557
  cst.Assign(
271
558
  targets=[cst.AssignTarget(cst.Name("schema"))],
272
- value=cst.Call(
273
- func=cst.Attribute(
274
- value=cst.Name("strawberry"),
275
- attr=cst.Name("Schema"),
276
- ),
277
- args=args,
278
- ),
559
+ value=schema_call,
279
560
  )
280
561
  ]
281
562
  )
282
563
 
283
564
 
284
- @dataclasses.dataclass(frozen=True)
285
- class Import:
286
- module: str | None
287
- imports: tuple[str]
288
-
289
- def to_cst(self) -> cst.Import | cst.ImportFrom:
290
- if self.module is None:
291
- return cst.Import(
292
- names=[cst.ImportAlias(name=cst.Name(name)) for name in self.imports]
293
- )
294
-
295
- return cst.ImportFrom(
296
- module=cst.Name(self.module),
297
- names=[cst.ImportAlias(name=cst.Name(name)) for name in self.imports],
298
- )
299
-
300
-
301
565
  def _get_union_definition(definition: UnionTypeDefinitionNode) -> cst.Assign:
302
566
  name = definition.name.value
303
567
 
@@ -430,6 +694,12 @@ def codegen(schema: str) -> str:
430
694
 
431
695
  object_types: dict[str, cst.ClassDef] = {}
432
696
 
697
+ # when we encounter a extend schema @link ..., we check if is an apollo federation schema
698
+ # and we use this variable to keep track of it, but at the moment the assumption is that
699
+ # the schema extension is always done at the top, this might not be the case all the
700
+ # time
701
+ is_apollo_federation = False
702
+
433
703
  for definition in document.definitions:
434
704
  if isinstance(
435
705
  definition,
@@ -440,7 +710,9 @@ def codegen(schema: str) -> str:
440
710
  ObjectTypeExtensionNode,
441
711
  ),
442
712
  ):
443
- class_definition = _get_class_definition(definition)
713
+ class_definition = _get_class_definition(
714
+ definition, is_apollo_federation, imports
715
+ )
444
716
 
445
717
  object_types[definition.name.value] = class_definition
446
718
 
@@ -478,6 +750,11 @@ def codegen(schema: str) -> str:
478
750
  definitions.append(cst.EmptyLine())
479
751
  definitions.append(scalar_definition)
480
752
  definitions.append(cst.EmptyLine())
753
+ elif isinstance(definition, SchemaExtensionNode):
754
+ is_apollo_federation = any(
755
+ _is_federation_link_directive(directive)
756
+ for directive in definition.directives
757
+ )
481
758
  else:
482
759
  raise NotImplementedError(f"Unknown definition {definition}")
483
760
 
@@ -496,6 +773,7 @@ def codegen(schema: str) -> str:
496
773
  root_query_name=root_query_name,
497
774
  root_mutation_name=root_mutation_name,
498
775
  root_subscription_name=root_subscription_name,
776
+ is_apollo_federation=is_apollo_federation,
499
777
  )
500
778
 
501
779
  if schema_definition:
strawberry/types/nodes.py CHANGED
@@ -9,6 +9,7 @@ If a node has only one useful value, it's value is inlined.
9
9
  If a list of nodes have unique names, it's transformed into a mapping.
10
10
  Note Python dicts maintain ordering (for all supported versions).
11
11
  """
12
+
12
13
  from __future__ import annotations
13
14
 
14
15
  import dataclasses
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: strawberry-graphql
3
- Version: 0.222.0
3
+ Version: 0.223.0
4
4
  Summary: A library for creating GraphQL APIs
5
5
  Home-page: https://strawberry.rocks/
6
6
  License: MIT
@@ -22,7 +22,7 @@ strawberry/channels/__init__.py,sha256=9oRdAT7uIYETF-23gZ5NteOXSjwkUtwRmwu3YCFv1
22
22
  strawberry/channels/handlers/base.py,sha256=tgXLjKCHrP-8yOJV-qo9iOMJUgDe2wW6rGs_nDZFi80,7869
23
23
  strawberry/channels/handlers/graphql_transport_ws_handler.py,sha256=UKfxRoo1pEv1CBHhkhSTkbztJlfU-OoksFwyLktj8xc,1945
24
24
  strawberry/channels/handlers/graphql_ws_handler.py,sha256=PHRkwnXt3tY4E0XBVHh4hpTyFBt9jQfTreBUmEo9vhI,2497
25
- strawberry/channels/handlers/http_handler.py,sha256=9pW978XaeF-aFWM9WMaSHCOWmcWoIJCNkW8X3lKJcws,9560
25
+ strawberry/channels/handlers/http_handler.py,sha256=c1Jpf7L4b7LvSaOolP2e9TWcEM5IqHXhScK0kZrhSg8,9561
26
26
  strawberry/channels/handlers/ws_handler.py,sha256=sHL44eay4tNoKzkrRn3WewSYH-3ZSJzxJpmBJ-aTkeM,4650
27
27
  strawberry/channels/router.py,sha256=dyOBbSF8nFiygP0zz6MM14mhkvFQAEbbLBXzcpubSHM,1927
28
28
  strawberry/channels/testing.py,sha256=IWj1CuIS3vOo2f2fw0W-0GCz-YSs7QSAAscC6suqtiI,5668
@@ -165,7 +165,7 @@ strawberry/parent.py,sha256=mCnJcLBQKwtokXcGxkm5HqGg7Wkst97rn61ViuaotrM,829
165
165
  strawberry/permission.py,sha256=Rm_dft2AGZCSgBRQuxWEfncgWj88nmSdL-5mJ6TvHeA,5917
166
166
  strawberry/printer/__init__.py,sha256=DmepjmgtkdF5RxK_7yC6qUyRWn56U-9qeZMbkztYB9w,62
167
167
  strawberry/printer/ast_from_value.py,sha256=MFIX2V51d9ocRvD0Njemjk8YIzKh2BB1g2iUcX6a3d8,4946
168
- strawberry/printer/printer.py,sha256=x6qGNchRAb75yBxOJV8jzHYSE42uaJns_PC9ulKVsYI,17454
168
+ strawberry/printer/printer.py,sha256=PXuYfAJxMU92aRETeSixhJjk-XUDu2ZFAFwkogzTu_Y,17461
169
169
  strawberry/private.py,sha256=fS5IbVUajzr-6NcR41yt4ukXDPAMzwe1WPNdRJP5wWk,534
170
170
  strawberry/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
171
171
  strawberry/quart/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -194,7 +194,7 @@ strawberry/schema/types/__init__.py,sha256=oHO3COWhL3L1KLYCJNY1XFf5xt2GGtHiMC-Ua
194
194
  strawberry/schema/types/base_scalars.py,sha256=Z_BmgwLicNexLipGyw6MmZ7OBnkGJU3ySgaY9SwBWrw,1837
195
195
  strawberry/schema/types/concrete_type.py,sha256=HB30G1hMUuuvjAvfSe6ADS35iI_T_wKO-EprVOWTMSs,746
196
196
  strawberry/schema/types/scalar.py,sha256=SVJ8HiKncCvOw2xwABI5xYaHcC7KkGHG-tx2WDtSoCA,2802
197
- strawberry/schema_codegen/__init__.py,sha256=U-ABa02BAfCN6zEGlc2LJEju18ErtGjbf0S8BhJXc6w,15592
197
+ strawberry/schema_codegen/__init__.py,sha256=2TO50tEZXQkH9yLUEBCZXEd0tUuzZ_XcY5dcKaf26ps,24040
198
198
  strawberry/schema_directive.py,sha256=GxiOedFB-RJAflpQNUZv00C5Z6gavR-AYdsvoCA_0jc,1963
199
199
  strawberry/starlite/__init__.py,sha256=v209swT8H9MljVL-npvANhEO1zz3__PSfxb_Ix-NoeE,134
200
200
  strawberry/starlite/controller.py,sha256=x6Mm3r36cRfzo6hz9B4AYWbVh2QlYtndYcXFOr_3THM,11860
@@ -223,7 +223,7 @@ strawberry/types/fields/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
223
223
  strawberry/types/fields/resolver.py,sha256=Lwy2XVKnTbDyibk9pPsWsunlm22akXjy-gKCg22Tp1A,14130
224
224
  strawberry/types/graphql.py,sha256=3SWZEsa0Zy1eVW6vy75BnB7t9_lJVi6TBV3_1j3RNBs,687
225
225
  strawberry/types/info.py,sha256=b1ZWW_wUop6XrGNcGHKBQeUYjlX-y8u3s2Wm_XhKPYI,3412
226
- strawberry/types/nodes.py,sha256=2ZVa1HOFgHZ96QTfz3QEr1fufi6Sz9hAzcZxsN7KtGE,5026
226
+ strawberry/types/nodes.py,sha256=5tTYmxGpVDshbydicHTTBWEiUe8A7p7mdiaSV8Ry80Y,5027
227
227
  strawberry/types/type_resolver.py,sha256=F0z_geS4VEun8EhD571LaTgI8ypjCeLfp910gF0Q3MY,6280
228
228
  strawberry/types/types.py,sha256=t5MOV4xiutPL2Ka02u3Z2V3eqy2R2JPYQxsqCnY2Aqk,7139
229
229
  strawberry/union.py,sha256=5DOzsmsrI4tU4aXO7BBEN-570ABQ9_VkRDvUJUrIofY,9926
@@ -241,8 +241,8 @@ strawberry/utils/logging.py,sha256=flS7hV0JiIOEdXcrIjda4WyIWix86cpHHFNJL8gl1y4,7
241
241
  strawberry/utils/operation.py,sha256=Um-tBCPl3_bVFN2Ph7o1mnrxfxBes4HFCj6T0x4kZxE,1135
242
242
  strawberry/utils/str_converters.py,sha256=avIgPVLg98vZH9mA2lhzVdyyjqzLsK2NdBw9mJQ02Xk,813
243
243
  strawberry/utils/typing.py,sha256=Qxz1LwyVsNGV7LQW1dFsaUbsswj5LHBOdKLMom5eyEA,13491
244
- strawberry_graphql-0.222.0.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
245
- strawberry_graphql-0.222.0.dist-info/METADATA,sha256=yc6q0kAtPFBIqo0Whk1t6bxehAmcOKFfnd4-4lcAIcs,7740
246
- strawberry_graphql-0.222.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
247
- strawberry_graphql-0.222.0.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
248
- strawberry_graphql-0.222.0.dist-info/RECORD,,
244
+ strawberry_graphql-0.223.0.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
245
+ strawberry_graphql-0.223.0.dist-info/METADATA,sha256=_W5hqZRCE54piac0oXb4DUZtiJGTYgTFZRDQvlhWEaU,7740
246
+ strawberry_graphql-0.223.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
247
+ strawberry_graphql-0.223.0.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
248
+ strawberry_graphql-0.223.0.dist-info/RECORD,,