kcl
kcl copied to clipboard
Passing yaml encoded KCL to template.execute results in unicode hex charaters being added instead of actual char
Bug Report
1. Minimal reproduce step (Required)
import yaml
import template
test = {
key = template.execute("""{{ _val }}""", {_val: yaml.encode(_val)})
}
_val = {
config = {
timeout = "5m"
}
}
2. What did you expect to see? (Required)
test:
key: |
config:
timout: "5m"
3. What did you see instead (Required)
test:
key: |
config:
timout: '5m'
4. What is your KCL components version? (Required)
0.11.3