Record return types and determine exposed modules for objects
@aktech がすでに取り組んでいます。
2020年8月18日 から。
評価
この issue はまだ評価されていません。
説明
One thing we should add is the ability to record the return type from a function.
This would help us understand the signatures better.
Also, it could help with another issue, which is that currently we output functions/classes from the modules they are defined in, not the module they are imported from.
We should instead try to output them where they are imported from. However, if multiple libraries import from different locations, we should choose one and have the others be aliases.
One way to do that would be to record the return types from the getattr calls, so if you did something like import numpy; numpy.arange we would know the return type of the getattr is the arange function.
We currently record those getattr, but don't have the return type.
If we did, we could infer that any getattr from a module, which returns a class/fn from a different module represents an import alias.
- 主要言語
- Python
- スター
- 74
- フォーク
- 6
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
data-apis/python-record-api のほかの issue
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
data-apis/python-record-api#145 · コメント 1 件 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
data-apis/python-record-api#144 · コメント 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
data-apis/python-record-api#142 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
data-apis/python-record-api#81 · コメント 2 件 ·
-
good first issue
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
data-apis/python-record-api#71 · リアクション 1 件 ·
data-apis/python-record-api の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anthropics/skills#1811 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
speaches-ai/speaches#678 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
datalayer/mcp-compose#42 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
conda-forge/spacy-feedstock#177 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
UKGovernmentBEIS/inspect_evals#2523 ·