-
Notifications
You must be signed in to change notification settings - Fork 25
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
Support to list of dicts? #12
Comments
Hi @timonwong, thank you for raising this issue! 🙇 I am currently very busy with working on pytest related things, so I'm not sure if or when I'll get to this. I'd love to see a PR from you on this though. So please feel free to give it a go and let me know if you need help. Raphael |
Also related, it does not support a list at the root of the document:
PyYaml:
|
I know this is very late, but I'm interested in using a single-file 0-dependency version of this library (which I will happily contribute back). One of the only issues preventing me from using it is this issue where a list item cannot be a section. I would appreciate any pointers you can provide to help allow this modification. I started by looking here:
I believe that what I'll want to do is modify the _LIST_VALUE definition in some way, so I tried various iterations on:
Using _MULTILINE_STR or _MULTILINE_SECTION but always running into duplicate group definition errors. Do you have any quick and dirty ideas how I might capture this properly? I will continue to tinker, but any assistance greatly appreciated. |
It seems currently poyo doesn't support list of dicts, for example:
Will be parsed intto:
And:
Will just throw
ValueError
while parsing:ValueError: Parent of ChildMixin instance needs to be a Container.
Is there any plan to support them?
I'm using poyo v0.4.0
The text was updated successfully, but these errors were encountered: