How do I get pydantic to report a violation if a YAML mapping to an optional attribute omits the space after the colon?
The assertion at the end of the following code fails because there is no space between walk
and True
in the yaml:
The assertion at the end of the following code fails because there is no space between walk
and True
in the yaml: