google / google/python-fire

When returning a dict containing keys starting with an underscore, these entries are not shown

Abierto
#249 2 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
28.2k
Forks
1.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Example:

```
import fire

assert fire.__version__ == "0.3.1"

def f():
return {"_id": 123, "x": 5}

fire.Fire(f)
```
I guess this has to do with hiding private object attributes from the user?
But it would be nice if one could disable this behavior somehow.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.