mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 09:36:44 +03:00
Update test_connection_query.py
This commit is contained in:
parent
76701e0809
commit
5896ade2dd
|
@ -51,10 +51,10 @@ letters = {letter: Letter(id=i, letter=letter) for i, letter in enumerate(letter
|
|||
def edges(selected_letters):
|
||||
return [
|
||||
{
|
||||
"node": {"id": base64("Letter:%s" % l.id), "letter": l.letter},
|
||||
"cursor": base64("arrayconnection:%s" % l.id),
|
||||
"node": {"id": base64("Letter:%s" % letter.id), "letter": letter.letter},
|
||||
"cursor": base64("arrayconnection:%s" % letter.id),
|
||||
}
|
||||
for l in [letters[i] for i in selected_letters]
|
||||
for letter in [letters[i] for i in selected_letters]
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user