Как распарсить yaml с тегами?
Есть yaml вида:
steps:
- !<!entry>
id: Entry-1
actions: []
- !<!replybuttons>
id: ReplyButtons-langcheck
footer: ''
- !<!input>
id: Input-langcheck
var: Input-1
- !<!logic>
id: LangCheck-Logic
entries:
- condition: !<!equals>
var: Input-langcheck
isCaseSensitive: false
Пытаюсь считать его:
import yaml
yaml.safe_load(yaml_text)
Но получаю ошибку:
yaml.constructor.ConstructorError: could not determine a constructor for the tag '!entry'
Как работать с такими тегами в yaml?