-
Notifications
You must be signed in to change notification settings - Fork 3
ValueError: not enough values to unpack (expected 2, got 1) #6
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
Comments
Thank you for the report, I believe this may be related to another issue that I found. I will look into this and get back to you. |
Hey @kayx23, thanks again for the report. Would you mind checking if the solution proposed in #11 works for your use-case? I've allowed for array-valued entries. As a side note, when looking into this I realised that there are a few bits of YAML syntax that I'm not really supporting here, I'll be adding a page that describes the currently unsupported (but of course possible, please continue to request things that are important) pieces of syntax to make things more clear. |
As a test case I've added The example above now renders as the following:
If you add in a schema file with an array type, this is also now recognized:
|
Btw I coopted that PR to improve testing and fix another issue that I found while investigating this one. The following will now correctly work:
I was previously relying on using the meta-data to "reset" the element detector, but I've relaxed that constraint and now both cases should be covered (subsequent element has meta-data or it doesn't). |
What works
What doesn't work
Got the following error msg:
However this is also a valid yaml config that should be supported.
The text was updated successfully, but these errors were encountered: