google/jsonnet

Feature request: exposing jsonnet_evaluate_snippet_stream in the Python API

Closed this issue · 2 comments

Feature request: exposing jsonnet_evaluate_snippet_stream in the Python API

Why? You may as well just require evaluate_snippet to return a list. If you actually want a YAML stream as a string, you can use the yaml lib to convert it to that, or just do '\n---'.join(...) or similar.

Closing as you have a workaround :)