python-fire icon indicating copy to clipboard operation
python-fire copied to clipboard

Access dict keys and values

Open robertvazan opened this issue 6 years ago • 4 comments

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.

robertvazan avatar Dec 27 '18 00:12 robertvazan

Hi! I'd like to try this. How exactly do I get started? @dbieber

shreyamalviya avatar Oct 11 '19 07:10 shreyamalviya

@dbieber I am trying this one out.

ritwik12 avatar Oct 04 '20 13:10 ritwik12

@dbieber is this still relevant, can I work on this? If yes please assign this to me.

nagavenkateshgavini avatar Feb 26 '24 18:02 nagavenkateshgavini

@nagavenkateshgavini The problem still exists, although I have found workarounds for my use cases.

robertvazan avatar Feb 26 '24 18:02 robertvazan