Closed maurerle closed 1 month ago
Hi, I want to parse the yaml files from the AMIRIS examples repository: https://gitlab.com/dlr-ve/esy/amiris/examples/-/blob/v2.1.0/Germany2019/scenario.yaml?ref_type=tags#L503
We have an include like this in there: Contracts: !include ["contracts/*.yaml", "Contracts"]
Contracts: !include ["contracts/*.yaml", "Contracts"]
where the last string is not of any further meaning - I can not change these files either.
Currently, this gives a ValueError as it is tried to be read as an integer. I can confirm that this was working in the 1.x version?
So it would be very cool to have this workaround included! :)
Thanks for the PR!
Codes of the PR picked in commit da96563
Hi, I want to parse the yaml files from the AMIRIS examples repository: https://gitlab.com/dlr-ve/esy/amiris/examples/-/blob/v2.1.0/Germany2019/scenario.yaml?ref_type=tags#L503
We have an include like this in there:
Contracts: !include ["contracts/*.yaml", "Contracts"]
where the last string is not of any further meaning - I can not change these files either.
Currently, this gives a ValueError as it is tried to be read as an integer. I can confirm that this was working in the 1.x version?
So it would be very cool to have this workaround included! :)