ydb-platform / ydb-platform/ydb-sqlalchemy

Support context manager for connection and cursor in dbapi

Open
#47 1 comment 0 reactions 0 assignees View on GitHub

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

  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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.