You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Description
Allow kwargs to be supplied to the execute and executeStmt methods, named arguments supplied to these methods will override either equivalents which were supplied in the StackQL class constructor.
Example(s)
frompystackqlimportStackQLprovider_auth= {
"github": {
"credentialsenvvar": "GITHUBCREDS",
"type": "basic"
}
}
stackql=StackQL(auth=provider_auth, output="csv")
print(stackql.execute("select id, name from github.repos.repos where org = 'stackql'"))
# returns: # id,name# 443987542,stackql# 441087132,stackql-provider-registry# 455730530,pystackql#456722161,stackql-jupyter-demo# ...print(stackql.execute("select id, name from github.repos.repos where org = 'stackql'", output="json"))
# returns:# [{"id":"443987542","name":"stackql"},{"id":"441087132","name":"stackql-provider-registry"},...]
The text was updated successfully, but these errors were encountered:
Feature Description
Allow
kwargs
to be supplied to theexecute
andexecuteStmt
methods, named arguments supplied to these methods will override either equivalents which were supplied in the StackQL class constructor.Example(s)
The text was updated successfully, but these errors were encountered: