We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What I see in the docs:
>>> from gcloud import datastore >>> from gcloud.datastore.transaction import Transaction >>> datastore.set_defaults() >>> with Transaction(): ... datastore.put([entity1, entity2])
What I want to do:
>>> from gcloud import datastore >>> with datastore.Transaction() as t: ... t.put([entity1, entity2])
The text was updated successfully, but these errors were encountered:
Those docs are old. The one you want is preferred.
The __init__ module in the datastore package has every relevant class or public method imported.
__init__
The set defaults statement is also no longer needed.
Sorry, something went wrong.
98bbd4a
dhermes
No branches or pull requests
What I see in the docs:
What I want to do:
The text was updated successfully, but these errors were encountered: