Skip to content

Commit

Permalink
Also support !value
Browse files Browse the repository at this point in the history
  • Loading branch information
niknetniko committed Aug 25, 2023
1 parent 762f5f8 commit 80dec7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tested/dsl/translate_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def _parse_yaml(yaml_stream: Union[str, TextIO]) -> YamlObject:
for actual_type in types:
yaml.add_constructor("!" + actual_type, _custom_type_constructors, loader)
yaml.add_constructor("!v", _yaml_value_constructor, loader)
yaml.add_constructor("!value", _yaml_value_constructor, loader)
return yaml.load(yaml_stream, loader)


Expand Down

0 comments on commit 80dec7a

Please sign in to comment.