google / google/python-fire

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

Open
#249 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
28.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.