ydb-platform / ydb-platform/ydb-sqlalchemy

Support TLS connections

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

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
40
Forks
13
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Now support simple no auth connection only:
https://github.com/ydb-platform/ydb-sqlalchemy/blob/48cc1c2e53a9c23be6dc371177dda644a6447b00/ydb_sqlalchemy/dbapi/connection.py#L37

Workaround: initialize ydb.Driver and pass it by ydb_session_pool option.

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

Start with dbapi/connection.py at the linked connection setup and trace how the ydb_session_pool option currently supplies a driver. Determine how TLS settings should be exposed through the regular connection path, then verify that a TLS connection can be initialized without the workaround described in the issue.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.