Access dict keys and values
Open
enhancement
- Dominant language
- Python
- Stars
- 28.2k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.