aws / aws/aws-xray-sdk-python

PEP-561 & PEP-484 style type support

オープン
#313 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Python
スター
338
フォーク
147
PR マージ指標
30日以内にマージされた PR はありません

説明

It would be really great to add type annotations to this module so that downstream consumers don't need to either disable it from their type checkers, or do their own limited-scope stubbing.

There's some indication that there's demand (other than mine) from this stackoverflow: https://stackoverflow.com/questions/57785471/why-does-mypy-think-library-imports-are-missing

I'm more than up for helping out with this is this something the maintainers are interested in, otherwise typeshed is a potential alternative (though keeping it inline would be better for maintainability by far!)

I searched the issues as best I could and I don't believe this is duplicate, so at the very least this can act as a good gauge for how many people are interested in this as a feature!

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

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

調査の方向性

この issue では、変更が必要なモジュール、テスト、エントリーポイントが特定されていません。まず影響を受ける SDK モジュールを把握し、そのパッケージメタデータがどのように型を公開しているかを確認してから、アノテーションの範囲と検証アプローチについてメンテナーと合意します。下流の型チェッカーがローカルスタブや除外なしでモジュールを利用できれば完了です。

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

評価

技術スタック
python
領域
backend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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