Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Feature request: Make transaction state public

Open
#1,130 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
postgresql, python
Domain
backend, databases

Research direction

The issue names no files, tests, or entry points. Start by locating asyncpg's transaction implementation and public transaction API, then determine how states such as started, committed, and aborted should be represented and exposed. Done means callers can reliably inspect the current transaction state, with coverage for the requested lifecycle states.

Written by the indexing model from the issue text.

Description

Can you provide the current transaction's state as a public interface? (started, committed, aborted, etc). I have some code that is doing some more complex transaction management, and needs to check if the transaction has been aborted.

Dominant language
Python
Stars
8.1k
Forks
469
Avg merge
2d 20h
Merged PRs (30d)
9

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MagicStack/asyncpg

All issues in MagicStack/asyncpg

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.