Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dbdd7e

Browse files
tonycwwuJohnVillalovos
authored andcommitted
docs(api-usage-graphql): fix the example graphql query string
1 parent1a2a68c commit8dbdd7e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎docs/api-usage-graphql.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ Get the result of a query:
4949

5050
..code-block::python
5151
52-
query="""{
53-
query{
54-
currentUser {
52+
query="""
53+
{
54+
currentUser {
5555
name
56-
}
5756
}
57+
}
5858
"""
5959
6060
result= gq.execute(query)
@@ -63,12 +63,12 @@ Get the result of a query using the async client:
6363

6464
..code-block::python
6565
66-
query="""{
67-
query{
68-
currentUser {
66+
query="""
67+
{
68+
currentUser {
6969
name
70-
}
7170
}
71+
}
7272
"""
7373
7474
result=await async_gq.execute(query)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp