google / google/python-fire

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

Aberta
#249 2 comentários 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
28.2k
Forks
1.5k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.