Implement dsn support for connect() method
まだ誰も着手していません。
評価
調査の方向性
Connection オブジェクトの connect() メソッドとそのイニシャライザから開始し、接続パラメータが現在どのように渡されているかを追跡します。列挙されている dsn、user、password、host、database、kwargs の入力を対象に DSN パーサーユーティリティを定義し、connect() が解析済みの設定を Connection の初期化に渡すことを確認します。
索引モデルが issue の本文から書いたものです。
説明
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)
- 主要言語
- Python
- スター
- 108
- フォーク
- 51
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tarantool/tarantool-python のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
tarantool/tarantool-python#325 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
tarantool/tarantool-python#340 ·
-
`load_schema` race オープン
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
tarantool/tarantool-python#333 ·
-
3sp feature teamE
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
tarantool/tarantool-python#309 · コメント 1 件 ·
-
customer Database API
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
tarantool/tarantool-python#307 · コメント 1 件 ·
tarantool/tarantool-python の issue をすべて見る
似ている issue
-
essnmx good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
[Feature] 奇物选择添加优先级 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
syfoud/Simulated_Scepter#174 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Giskard-AI/giskard-oss#2840 · コメント 1 件 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success オープンarea: repo bug perceived difficulty: 2
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
yeti-platform/yeti#1380 ·