-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: spannerIssues related to the Spanner API.Issues related to the Spanner API.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.
Description
Hi, the docs state that I can start a transaction like so: https://googlecloudplatform.github.io/google-cloud-python/latest/spanner/transaction-usage.html#use-a-transaction-as-a-context-manager
with database.transaction() as transaction:
However, when I call it I receive an error saying that transaction attribute does not exist on the database object. Looking at the source, it looks like that method no longer exists either.
Why was it removed? Can we re-add it? Happy to submit a patch to do so.
Metadata
Metadata
Assignees
Labels
api: spannerIssues related to the Spanner API.Issues related to the Spanner API.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.