google / google/python-fire

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

Đang mở
#249 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
28.2k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.