ydb-platform / ydb-platform/ydb-sqlalchemy
Support context manager for connection and cursor in dbapi
Open
Nobody has claimed this yet.
dbapi
enhancement
good first issue
- Dominant language
- Python
- Stars
- 40
- Forks
- 13
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
It should return self on __enter__ and call close method on __exit__
with cursor:
...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files or tests are named. Locate the DBAPI connection and cursor entry points, then inspect any existing context-manager tests or run the test suite. Done means both objects return themselves from enter and call close from exit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, sqlalchemy
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100