Investigate supporting the `:named` paramstyle for `comdb2.dbapi2`

Open
#61 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
databases

Research direction

Start in the comdb2.dbapi2 parameter-handling and connect entry points, tracing how the current parameter style is selected and passed to queries. Determine whether both styles can be detected safely or whether connect needs an explicit option; done means a supported migration path is identified and its behavioral requirements are documented.

Written by the indexing model from the issue text.

Description

enhancement

Comdb2 now supports this parameter style, and it's easier to use (and doesn't require escaping % characters in the query itself). Investigate whether there's a migration path to recommending this parameter style by default. It would be ideal if we could find a way to support both parameter styles simultaneously and detect which is being used, but failing that we could consider a parameter to connect to control which style is used.

Dominant language
Python
Stars
29
Forks
28
Avg merge
11h 25m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

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 bloomberg/python-comdb2

All issues in bloomberg/python-comdb2

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.