MagicStack / MagicStack/asyncpg
TypeError: can't set attributes of built-in/extension type 'asyncpg.Record'
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 8.1k
- フォーク
- 468
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi, I am trying to monkey patch the Record class (the getter) to get an history of every column that got accessed in the record (to only query what the user really need for the next n queries). However I cant do that, I got the error of the title.
I am pretty sure this is related to https://github.com/MagicStack/asyncpg/issues/451 and the strange nature of Record object.
I would like to know why Records are made like that and if you will change that. Right now I think I will re implement my driver class with another library if you dont have any workaround
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
asyncpg.Record クラスとその getter の動作から始め、関連する asyncpg issue #451 を読んでください。属性の変更をサポートすること、またはアクセス追跡を公開することがスコープに含まれるかを判断してください。完了とは、maintainer による判断と、文書化されたサポート対象の方法、またはその制限についての明示的な説明がある状態です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- postgresql, python
- 領域
- databases
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100