Record return types and determine exposed modules for objects
@aktech ci sta già lavorando.
Dal 18/8/2020.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 74
- Fork
- 6
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di data-apis/python-record-api
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
data-apis/python-record-api#145 · 1 commento ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
data-apis/python-record-api#144 · 4 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
data-apis/python-record-api#142 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
data-apis/python-record-api#81 · 2 commenti ·
-
good first issue
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
data-apis/python-record-api#71 · 1 reazione ·
Tutte le issue di data-apis/python-record-api
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anthropics/skills#1811 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
speaches-ai/speaches#678 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
datalayer/mcp-compose#42 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
conda-forge/spacy-feedstock#177 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
UKGovernmentBEIS/inspect_evals#2523 ·