Title: Spanner: Update docs for timeout_secs param in Database.run_in_transaction() · Issue #9364 · googleapis/google-cloud-python · GitHub
Open Graph Title: Spanner: Update docs for timeout_secs param in Database.run_in_transaction() · Issue #9364 · googleapis/google-cloud-python
X Title: Spanner: Update docs for timeout_secs param in Database.run_in_transaction() · Issue #9364 · googleapis/google-cloud-python
Description: The documentation for Database.run_in_transaction() states: :param kw: optional keyword arguments to be passed to ``func``. If passed, "timeout_secs" will be removed and used to override the default timeout. Based on the SO issue the doc...
Open Graph Description: The documentation for Database.run_in_transaction() states: :param kw: optional keyword arguments to be passed to ``func``. If passed, "timeout_secs" will be removed and used to override the defaul...
X Description: The documentation for Database.run_in_transaction() states: :param kw: optional keyword arguments to be passed to ``func``. If passed, "timeout_secs" will be removed and used to override ...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/9364
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Spanner: Update docs for timeout_secs param in Database.run_in_transaction()","articleBody":"The documentation for `Database.run_in_transaction()` states:\r\n\r\n```\r\n:param kw: optional keyword arguments to be passed to ``func``.\r\n If passed, \"timeout_secs\" will be removed and used to\r\n override the default timeout.\r\n```\r\n\r\nBased on the [SO issue](https://stackoverflow.com/questions/58107953/unable-to-delete-large-number-of-rows-from-spanner) the documentation is misleading because users will assume that `timeout_secs` is the deadline for the request. Instead, this parameter is the [retry timeout ](https://github.com/googleapis/google-cloud-python/blob/master/spanner/google/cloud/spanner_v1/session.py#L286)which is the deadline after which the transaction will stop being retried.\r\n\r\nWe need to update the documentation so that it's clear what this parameter is used for.","author":{"url":"https://github.com/skuruppu","@type":"Person","name":"skuruppu"},"datePublished":"2019-10-01T01:19:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/9364/google-cloud-python/issues/9364"}
| 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:9a516de5-37e3-7d66-8460-8906c2c6bcfc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B722:A825:1CA85CF:2993084:6A4E5E7B |
| html-safe-nonce | a7a6cb7e16955a680876b640889540fea0d4a47911c9ac161a6d11921cd9505a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzIyOkE4MjU6MUNBODVDRjoyOTkzMDg0OjZBNEU1RTdCIiwidmlzaXRvcl9pZCI6Ijc1Nzk3NTc2MTE0NTQ0NTU0MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5782620ce561af29b7eaf1e5cfd5adf4c1d1c680d974f0c497f159c7cc6c52b2 |
| hovercard-subject-tag | issue:500605370 |
| 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/google-cloud-python/9364/issue_layout |
| twitter:image | https://opengraph.githubassets.com/42b0af7fdf81cc7e9fef1cf62e257d07467f26be771f16f59e24ec0a1c90e010/googleapis/google-cloud-python/issues/9364 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42b0af7fdf81cc7e9fef1cf62e257d07467f26be771f16f59e24ec0a1c90e010/googleapis/google-cloud-python/issues/9364 |
| og:image:alt | The documentation for Database.run_in_transaction() states: :param kw: optional keyword arguments to be passed to ``func``. If passed, "timeout_secs" will be removed and used to override the defaul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | skuruppu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| 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 | 55abf6b50233e48592f2087d3226df604c65feb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width