Record return types and determine exposed modules for objects
@aktech ya está trabajando en esto.
Desde el 18/8/2020.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 74
- Forks
- 6
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de data-apis/python-record-api
-
bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
data-apis/python-record-api#145 · 1 comentario ·
-
ufunc data seems to be missing Abiertoenhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
data-apis/python-record-api#144 · 4 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
data-apis/python-record-api#142 ·
-
Cleanup of Python Stack Access Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
data-apis/python-record-api#81 · 2 comentarios ·
-
Create better view of results Abiertogood first issue
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
data-apis/python-record-api#71 · 1 reacción ·
Todos los issues de data-apis/python-record-api
Issues similares
-
bug confirmed issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
open-webui/open-webui#30750 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100