Skip to content

Enumerator validation

Compare
Choose a tag to compare
@Chris1221 Chris1221 released this 15 Feb 17:13
· 24 commits to master since this release

Adds support for optional enumerator validation in the schema file. Practically, this means that an option can be one of a number of discrete strings. These are added in a third portion of the returned tuple from the schema parser. This may break your code if you rely on only unpacking two elements from the schema parser, see the unit tests for an updated implementation. This version is now the current on pypi, so if you would like to keep using the old implementation, specify yamldoc==0.1.3 to avoid the new complexity.