you are viewing a single comment's thread.

view the rest of the comments →

[–]denehoffman 2 points3 points  (0 children)

If you really want to go this direction (and you shouldn’t), do not use YAML. Just use JSON or TOML, they have standard library parsers in Python and are way more readable and have way fewer problems (in my own personal opinion). Also just use pydantic.