Skip to content

Commit 1c2f875

Browse files
Copilotjeffreyaven
andcommitted
Fix documentation to use correct output format parameter 'dict'
Co-authored-by: jeffreyaven <[email protected]>
1 parent cc087c0 commit 1c2f875

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/intro.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ You can create a StackQL instance with a default output format, then override it
204204
# 441087132,stackql-provider-registry
205205
# ...
206206
207-
# This overrides to JSON/dict format for this query only
208-
json_result = stackql.execute("select id, name from github.repos.repos where org = 'stackql'", output="json")
209-
print(json_result)
207+
# This overrides to dict format for this query only
208+
dict_result = stackql.execute("select id, name from github.repos.repos where org = 'stackql'", output="dict")
209+
print(dict_result)
210210
# Output:
211211
# [{"id":"443987542","name":"stackql"},{"id":"441087132","name":"stackql-provider-registry"},...]
212212

0 commit comments

Comments
 (0)