Title: [FEATURE] Accept `kwargs` for `execute` and `executeStmt` · Issue #1 · stackql/pystackql · GitHub
Open Graph Title: [FEATURE] Accept `kwargs` for `execute` and `executeStmt` · Issue #1 · stackql/pystackql
X Title: [FEATURE] Accept `kwargs` for `execute` and `executeStmt` · Issue #1 · stackql/pystackql
Description: 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) from pyst...
Open Graph Description: 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...
X Description: 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...
Opengraph URL: https://github.com/stackql/pystackql/issues/1
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FEATURE] Accept `kwargs` for `execute` and `executeStmt`","articleBody":"**Feature Description**\r\nAllow `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.\r\n\r\n**Example(s)**\r\n```python\r\nfrom pystackql import StackQL\r\nprovider_auth = {\r\n \"github\": {\r\n \"credentialsenvvar\": \"GITHUBCREDS\",\r\n \"type\": \"basic\"\r\n }\r\n}\r\nstackql = StackQL(auth=provider_auth, output=\"csv\")\r\nprint(stackql.execute(\"select id, name from github.repos.repos where org = 'stackql'\"))\r\n\r\n# returns: \r\n# id,name\r\n# 443987542,stackql\r\n# 441087132,stackql-provider-registry\r\n# 455730530,pystackql\r\n#456722161,stackql-jupyter-demo\r\n# ...\r\n\r\nprint(stackql.execute(\"select id, name from github.repos.repos where org = 'stackql'\", output=\"json\"))\r\n\r\n# returns:\r\n# [{\"id\":\"443987542\",\"name\":\"stackql\"},{\"id\":\"441087132\",\"name\":\"stackql-provider-registry\"},...]\r\n\r\n\r\n```","author":{"url":"https://github.com/jeffreyaven","@type":"Person","name":"jeffreyaven"},"datePublished":"2023-02-23T23:54:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1/pystackql/issues/1"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:736ef709-7442-b79a-d099-396388a48dc5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8526:43C9:65A178:88D302:6A4D55A6 |
| html-safe-nonce | 873974ff4d78ac1f883daea21434e565b17ccb1e8b15a700da82b076fc9fb5d3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTI2OjQzQzk6NjVBMTc4Ojg4RDMwMjo2QTRENTVBNiIsInZpc2l0b3JfaWQiOiIxODUwMDg5NDg4NDU5MzIyNzkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d0d29b43d7f59ebd55dadd4b99cd3a38ec5d417af2a9c17138aa1d7c5d21cd04 |
| hovercard-subject-tag | issue:1597681580 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackql/pystackql/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e26bc2dacfe6b0251eb93d7c9a09a2f5b2d29eb455c6247d6b676fb42f7aee6a/stackql/pystackql/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e26bc2dacfe6b0251eb93d7c9a09a2f5b2d29eb455c6247d6b676fb42f7aee6a/stackql/pystackql/issues/1 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jeffreyaven |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/stackql/pystackql git https://github.com/stackql/pystackql.git |
| octolytics-dimension-user_id | 95105302 |
| octolytics-dimension-user_login | stackql |
| octolytics-dimension-repository_id | 455730530 |
| octolytics-dimension-repository_nwo | stackql/pystackql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 455730530 |
| octolytics-dimension-repository_network_root_nwo | stackql/pystackql |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width