tarantool / tarantool/tarantool-python

Implement dsn support for connect() method

オープン
#170 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Database API feature
主要言語
Python
スター
108
フォーク
51
平均マージ
1日 8時間
マージ済み PR(30日)
1

説明

Pep 249 suggests a constructor method of Connection objects .connect()

It takes the following parameters as arguments:

Parameter Meaning
dsn Data source name as string
user User name as string (optional)
password Password as string (optional)
host Hostname (optional)
database Database name (optional)
kwargs It is not from the standard but we use it for the method signature scalability.

Implement dsn parser utility to pass the settings to the Connection init by only one line.

The pattern can be used ([[[username[:password]@]host:]port)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Connection オブジェクトの connect() メソッドとそのイニシャライザから開始し、接続パラメータが現在どのように渡されているかを追跡します。列挙されている dsn、user、password、host、database、kwargs の入力を対象に DSN パーサーユーティリティを定義し、connect() が解析済みの設定を Connection の初期化に渡すことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
database
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。