MagicStack / MagicStack/asyncpg

README missing Database Port number in the example.

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

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

主要言語
Python
スター
8.1k
フォーク
468
PR マージ指標
30日以内にマージされた PR はありません

説明

  • asyncpg version:
  • PostgreSQL version:
  • Do you use a PostgreSQL SaaS? If so, which? Can you reproduce
    the issue with a local PostgreSQL install?
    :
  • Python version:
  • Platform:
  • Do you use pgbouncer?:
  • Did you install asyncpg with pip?:
  • If you built asyncpg locally, which version of Cython did you use?:
  • Can the issue be reproduced under both asyncio and
    uvloop?
    :

Not a bug or issue, I saw the example in the README section..

import asyncio
import asyncpg

async def run():
    conn = await asyncpg.connect(user='user', password='password',
                                 database='database', host='127.0.0.1')
    values = await conn.fetch('''SELECT * FROM mytable''')
    await conn.close()

loop = asyncio.get_event_loop()
loop.run_until_complete(run())

A database port number is missing in the example, I know Postgres default port is 5432, but in example if we give the details about the port it will be more clear to reader about the port parameter to use for different database instance.. Was it intentional to leave port number or its error ?

--Raghav

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

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

はじめの一歩

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

調査の方向性

asyncpg.connect の例を含む README セクションを開き、接続パラメーターがどのようにドキュメント化されているかを確認します。データベースポートの使用方法が明確になるように例を更新し、その後、コードが引き続き有効な PostgreSQL 接続例であることを確認します。何年も最近の応答がないため、開始する前に issue がまだ関連性を持っていることを確認してください。

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

評価

技術スタック
postgresql, python
領域
databases, documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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