tanbro / pyyaml-include

yaml include other yaml
https://pypi.org/project/pyyaml-include/
GNU General Public License v3.0
78 stars 20 forks source link

Does not support top level include with other keys #22

Closed eugene-chernyshenko closed 3 years ago

eugene-chernyshenko commented 3 years ago

According to this answer

Till now, !include constructor can NOT be used at the TOP level, unless it's the only one node in whole YAML document.

The question is why?

https://github.com/tanbro/pyyaml-include/issues/7

tanbro commented 3 years ago

can this help?

https://github.com/tanbro/pyyaml-include/issues/7#issuecomment-917827409

tanbro commented 1 year ago

Duplicate of #7