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
Some examples:
observer> show py:runresult "{1: 2}" observer: [["1" 2]] observer> show py:runresult "{(1,2): 3}" Extension exception: keys must be a string
While JSON is restricted to string keys, we are not. We need to hijack JSON's dict serialization to turn them into a list of pairs instead.
The text was updated successfully, but these errors were encountered:
A current workaround is to just do:
show py:runresult "{(1,2): 3}.items()"
Sorry, something went wrong.
This is because keys are always strings in JSON. So I think the only way to fix this is to either:
No branches or pull requests
Some examples:
While JSON is restricted to string keys, we are not. We need to hijack JSON's dict serialization to turn them into a list of pairs instead.
The text was updated successfully, but these errors were encountered: