Tell me what are the ways to customize the pyyaml parser so that it can read such text (a collection without - characters and so that when specifying a line with a% and not wrapped in quotation marks, it does not crash with the error" found character '%' that cannot start any token "):
collection:
%element1
element2
element3
I'm not very clear about which methods need to be overridden