-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
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
Mixed tuples and dictionaries #20
Comments
I think what you're after is possible with some exceptions: |
I want to use a forward slash in a tuple |
This brings up a good point that's missing from the docs. We are currently limited to valid Python identifiers.
Another use case that would cause issues:
It might be helpful if we added a pre-flight check for valid Python identifiers:
But in the end, using invalid Python identifiers would not be possible without some sort of character substitution schema. As an example:
Might be mapped to something like this, which is not ideal:
|
Yeah, it should at least be mentioned in the docs. Adding some sort of mapping capabilities might not be a bad solution. |
Is it possible to do mixed tuples and dictionaries???
There are times when I need to use special characters for the key, and tuples can't handle that.
The text was updated successfully, but these errors were encountered: