google / google/python-fire

Access dict keys and values

オープン
#156 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Python
スター
28.2k
フォーク
1.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

My script returns a dictionary from command `script.py command`. That works well. But when I try to list just keys (`script.py command keys`) or values (`script.py command values`), I get error `Cannot find target in dict` instead of the expected list of keys or values. Please extend `dict` handling with support for `.keys()` and `.values()` methods.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。