We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently running something like pockyt get -n 5 -f '{id} | {tags}'
pockyt get -n 5 -f '{id} | {tags}'
Will produce output like
64845519 | odict_keys(['hack']) 2872686492 | odict_keys(['developper', 'work']) 3990014513 | odict_keys(['coding', 'macos']) 4047586147 | odict_keys(['newjob']) 4129533492 | odict_keys(['developper', 'work'])
That odict_keys() bit is a bit ugly ain't it 😇
odict_keys()
The easy fix is that would be to convert the odict_keys object to a list like so.
odict_keys
client.py L173-L175
def _process_tags(self, tags): if tags: return list(tags.keys())
Then the output is a more palatable:
64845519 | ['hack'] 2872686492 | ['developper', 'work'] 3990014513 | ['coding', 'macos'] 4047586147 | ['newjob'] 4129533492 | ['developper', 'work']
A PR can be forthcoming of course.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently running something like
pockyt get -n 5 -f '{id} | {tags}'
Will produce output like
That
odict_keys()
bit is a bit ugly ain't it 😇The easy fix is that would be to convert the
odict_keys
object to a list like so.client.py L173-L175
Then the output is a more palatable:
A PR can be forthcoming of course.
The text was updated successfully, but these errors were encountered: