google / google/python-fire

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

Aperta
#249 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
28.2k
Fork
1.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.