Title: Make DB API Cursors iterable · Issue #607 · googleapis/python-bigquery · GitHub
Open Graph Title: Make DB API Cursors iterable · Issue #607 · googleapis/python-bigquery
X Title: Make DB API Cursors iterable · Issue #607 · googleapis/python-bigquery
Description: Thanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response. Plea...
Open Graph Description: Thanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. ...
X Description: Thanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. ...
Opengraph URL: https://github.com/googleapis/python-bigquery/issues/607
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make DB API Cursors iterable","articleBody":"Thanks for stopping by to let us know something could be better!\r\n\r\n**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.\r\n\r\nPlease run down the following list and make sure you've tried the usual \"quick fixes\":\r\n\r\n - Search the issues already opened: https://github.com/googleapis/python-bigquery/issues\r\n - Search StackOverflow: https://stackoverflow.com/questions/tagged/google-cloud-platform+python\r\n\r\nIf you are still having issues, please be sure to include as much information as possible:\r\n\r\n#### Environment details\r\n\r\n - OS type and version: Ununtu 20.4\r\n - Python version: `python --version` 3.9.4\r\n - pip version: `pip --version` pip 21.0.1 from /home/jim/p/g/python-bigquery/env/3.9/lib/python3.9/site-packages/pip (python 3.9)\r\n - `google-cloud-bigquery` version: `pip show google-cloud-bigquery` 2.13.1\r\n\r\n#### Steps to reproduce\r\n\r\n 1. \r\n 2. ?\r\n\r\n#### Code example\r\n\r\n```python\r\n\r\n\u003e\u003e\u003e import google.cloud.bigquery.dbapi\r\n\u003e\u003e\u003e conn = google.cloud.bigquery.dbapi.connect()\r\n/home/jim/p/g/python-bigquery/google/cloud/bigquery/client.py:444: UserWarning: Cannot create BigQuery Storage client, the dependency google-cloud-bigquery-storage is not installed.\r\n warnings.warn(\r\n\u003e\u003e\u003e cursor = conn.cursor()\r\n\u003e\u003e\u003e cursor.execute(\"select 1\")\r\n\u003e\u003e\u003e list(cursor)\r\nTraceback (most recent call last):\r\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\nTypeError: 'Cursor' object is not iterable\r\n\u003e\u003e\u003e \r\n```\r\nIterability is optional, but widely implemented in dbapi implementations, because it's so useful.\r\n","author":{"url":"https://github.com/jimfulton","@type":"Person","name":"jimfulton"},"datePublished":"2021-04-14T19:55:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/607/python-bigquery/issues/607"}
| 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:78bded4c-3dbc-a19c-0fc2-5c12ec2d3c20 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B650:2C03D:437D811:5D31DB0:6A4F47D0 |
| html-safe-nonce | 35a6a4144a98d7f60b4f71f6e6429996c93d5a348a56a6fbe75a6e107021bf66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjUwOjJDMDNEOjQzN0Q4MTE6NUQzMURCMDo2QTRGNDdEMCIsInZpc2l0b3JfaWQiOiIxOTU0NjUwMTk5ODY0OTU0NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e0c1e3ff7164d5579ad1d7bf5d7094cff4aef7c15ee3a3b88e9ed2bfe35a819a |
| hovercard-subject-tag | issue:858217415 |
| 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/googleapis/python-bigquery/607/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fa95a56a2be3ca79491058a6a83329b8215ecdc39edc59069de39f94c794e86e/googleapis/python-bigquery/issues/607 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fa95a56a2be3ca79491058a6a83329b8215ecdc39edc59069de39f94c794e86e/googleapis/python-bigquery/issues/607 |
| og:image:alt | Thanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jimfulton |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-bigquery git https://github.com/googleapis/python-bigquery.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992475 |
| octolytics-dimension-repository_nwo | googleapis/python-bigquery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992475 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-bigquery |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width