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
$ demo --sentence="this is a sentence" --another_arg "another quote"
c.parse_string("--sentence=\"this is a sentence\"") should produce the following dictionary:
c.parse_string("--sentence=\"this is a sentence\"")
{"sentence": "this is a sentence", "another_arg": "another quote"}
or if a class-level setting like "Crispy.keep_quotes" is set to True
Crispy.keep_quotes
True
{"sentence": "\"this is a sentence\"", "another_arg": "\"another quote\""}
The text was updated successfully, but these errors were encountered:
fybx
No branches or pull requests
Example Input
Expected Output
c.parse_string("--sentence=\"this is a sentence\"")
should produce the following dictionary:{"sentence": "this is a sentence", "another_arg": "another quote"}
or if a class-level setting like "
Crispy.keep_quotes
" is set toTrue
{"sentence": "\"this is a sentence\"", "another_arg": "\"another quote\""}
The text was updated successfully, but these errors were encountered: