@@ -327,8 +327,7 @@ def _connection_type_for(self, type_name: str) -> Type[Any]:
327
327
[
328
328
("edges" , List [edge_type ]), # type: ignore[valid-type]
329
329
],
330
- # type: ignore[valid-type]
331
- bases = (relay .ListConnection [lazy_type ],),
330
+ bases = (relay .ListConnection [lazy_type ],), # type: ignore[valid-type]
332
331
)
333
332
)
334
333
setattr (connection_type , _GENERATED_FIELD_KEYS_KEY , ["edges" ])
@@ -523,7 +522,7 @@ async def resolve(self, info: Info):
523
522
relationship_key = tuple (
524
523
[
525
524
getattr (
526
- self , local_remote_pairs_secondary_table_local .key ),
525
+ self , str ( local_remote_pairs_secondary_table_local .key ) ),
527
526
]
528
527
)
529
528
@@ -830,8 +829,7 @@ def convert(type_: Any) -> Any:
830
829
setattr (
831
830
type_ ,
832
831
attr ,
833
- # type: ignore[arg-type]
834
- types .MethodType (func , type_ ),
832
+ types .MethodType (func , type_ ), # type: ignore[arg-type]
835
833
)
836
834
837
835
# Adjust types that inherit from other types/interfaces that implement Node
0 commit comments