GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: transaction doesn't have property succeeded · Issue #781 · googleapis/google-cloud-python

docs: transaction doesn't have property succeeded #781

New issue
Copy link
New issue
Copy link
Closed
#784
Closed
docs: transaction doesn't have property succeeded#781
#784
Copy link
Assignees
dhermes
Labels
api: datastoreIssues related to the Datastore API.
Milestone
Datastore Future

Description

@pdknsk
pdknsk
opened on Mar 30, 2015
Issue body actions

The docs still mention the succeeded property on transactions run with with even though it has been removed in ed0762b. It's not clear to me how to check for a successful transaction now. I suspect it throws an exception otherwise, which mirrors ndb behaviour, but I still check for _status == 3 just in case.

Activity

  1. dhermes
    added
    api: datastoreIssues related to the Datastore API.
    on Mar 31, 2015
  2. dhermes
    added this to the Datastore Future milestone on Mar 31, 2015
  3. dhermes
    added
    docs
    on Mar 31, 2015
  4. dhermes commented on Mar 31, 2015

    @dhermes
    dhermes
    on Mar 31, 2015
    Contributor
    More actions

    @pdknsk Thanks for pointing it out. I was hoping it was in an old docs build, but I confirmed it is present in HEAD.


    As for how you can check it going forward, see my comment in the PR.

    The context manager doesn't swallow exceptions. So __exit__ing the context manager without a failure is equivalent to success.

    The only reason we kept the _status around is so that a Transaction object is "tombstoned" after one use. In other words, so people can't mistakenly try to re-enter a transaction.

  5. dhermes
    self-assigned this
    on Mar 31, 2015
  6. dhermes
    added a commit that references this issue on Mar 31, 2015

    Removing outdated Transaction.succeeded docs.

    This issue will close once commit 7dcd496 is merged into the 'master' branch.
    7dcd496
  7. dhermes commented on Mar 31, 2015

    @dhermes
    dhermes
    on Mar 31, 2015
    Contributor
    More actions

    @pdknsk I'm going to close this when #784 is merged, let me know if you want to keep this open for some reason.

  8. dhermes
    closed this as completedin #784on Mar 31, 2015
  9. theacodes
    unassigned
    dhermes
    on Sep 28, 2018
  10. JustinBeckwith
    assigned
    dhermes
    on Feb 1, 2021
  11. parthea
    added a commit that references this issue on Aug 21, 2025

    chore(deps): update all dependencies (#781)

    c0286b5
  12. parthea
    added 2 commits that reference this issue on Sep 16, 2025

    chore(deps): update all dependencies (#781)

    d6f770b

    bug: modifies latency due to flakybot issues (#781)

    b498e78
  13. parthea
    added 6 commits that reference this issue on Nov 22, 2025

    docs: add samples from bigtable (#38)

    ab589eb

    feat: add gapic metadata file (#781)

    c9fa1a9

    chore: release 0.41.0 (#796)

    56ffd5f

    chore(deps): update all dependencies (#781)

    abd3d5c

    chore(deps): update all dependencies (#781)

    6207cfc

    test: refresh authorized_user.json (#781)

    d1417ac
  14. parthea
    added a commit that references this issue on Mar 2, 2026

    chore: use gapic generator python 1.4.1 (#781)

    b4795b7
  15. parthea
    added 3 commits that reference this issue on Mar 9, 2026

    chore(deps): update dependency protobuf to v6.33.0 (#781)

    700c021

    chore: [autoapprove] update readme_gen.py to include autoescape True (#…

    620264d

    fix(deps): allow protobuf < 5.0.0 (#781)

    aa67a59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dhermes
    dhermes

Labels

api: datastoreIssues related to the Datastore API.

Type

No type

Projects

No projects

    Milestone

    • Datastore Future

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.