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
The YAML format does not allow for math or other convenience syntax. cobald could provide a YAML tag plugin for basic evaluation and unit replacement.
cobald
Before:
maxBytes: 10485760
After:
maxBytes: !eval 10 MiB maxBytes: !eval 10 * 1024 * 1024
Possible to use ast.literal_eval for the evaluation part.
ast.literal_eval
The text was updated successfully, but these errors were encountered:
It could be worth using pyparsing to offer lambda support.
pyparsing
Sorry, something went wrong.
No branches or pull requests
The YAML format does not allow for math or other convenience syntax.
cobald
could provide a YAML tag plugin for basic evaluation and unit replacement.Before:
After:
Possible to use
ast.literal_eval
for the evaluation part.The text was updated successfully, but these errors were encountered: