-
Notifications
You must be signed in to change notification settings - Fork 518
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
yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:value' #683
Comments
I reported an issue initially on pre-commit/pre-commit-hooks#846 but it looks like its place is here |
It looks like you're running afoul of this: https://yaml.org/type/value.html. Short answer is "quote the equals or prefix it with |
Thanks @nitzmahone. I'm getting that yaml part in the process of converting a json data into yaml, with the pipeline like this:
And the json I receive from Grafana's /api/dashboards/uid/{uid} api call. So it's not easy/tidy to quote or prefix the value. |
Duplicate of #89 |
@perlpunk yay for dupe issue necromancy 😆 @aleksandr-vin If you can do things in the Python environment before the document is loaded, the following awful hack will let all subsequent document parses succeed in the presence of a value like that:
Longer-term, especially since it doesn't look like that type ever really fulfilled its promise, seems like we might want to nuke it. |
The yaml doc
is not loading:
The text was updated successfully, but these errors were encountered: