(args="")
| 64 | |
| 65 | |
| 66 | async def execute(args=""): |
| 67 | if args: |
| 68 | args = "(" + args + ")" |
| 69 | return await schema.execute_async( |
| 70 | """ |
| 71 | { |
| 72 | letters%s { |
| 73 | edges { |
| 74 | node { |
| 75 | id |
| 76 | letter |
| 77 | } |
| 78 | cursor |
| 79 | } |
| 80 | pageInfo { |
| 81 | hasPreviousPage |
| 82 | hasNextPage |
| 83 | startCursor |
| 84 | endCursor |
| 85 | } |
| 86 | } |
| 87 | } |
| 88 | """ |
| 89 | % args |
| 90 | ) |
| 91 | |
| 92 | |
| 93 | async def check(args, letters, has_previous_page=False, has_next_page=False): |