MCPcopy Create free account
hub / github.com/graphql-python/graphene / execute

Function execute

graphene/relay/tests/test_connection_query.py:66–90  ·  view source on GitHub ↗
(args="")

Source from the content-addressed store, hash-verified

64
65
66async 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
93async def check(args, letters, has_previous_page=False, has_next_page=False):

Callers 1

checkFunction · 0.70

Calls 1

execute_asyncMethod · 0.45

Tested by

no test coverage detected