As part of a coding dojo we organized in our team, we took the opportunity to see what could be improved in this library (which is really nice by the way!).
Here is our humble result of 4 people spending two hours of code-reading, playing around and searching for stuff to improve.
Basically we:
Simplified And.init, usage of **kwargs was not needed.
Extracted _build_schema and _build_schemas from And.validate.
Adapted Or.validate to rely on _build_schema and _build_schemas.
Hello,
As part of a coding dojo we organized in our team, we took the opportunity to see what could be improved in this library (which is really nice by the way!).
Here is our humble result of 4 people spending two hours of code-reading, playing around and searching for stuff to improve.
Basically we:
Cheers,
Julien