Add pass-through behavior to assertValid() to help replace functionality that will be lost when removing the more magical helper methods (like assertSubjectSum(), et al).
Using the existing data/required syntax can be cumbersome in certain cases. By adding support for an optional calling convention (a function signature), duplication can be reduced. While the data/required signature will remain the default behavior (which will appear in the docstring when introspected) a second, optional signature will also be supported:
Add pass-through behavior to assertValid() to help replace functionality that will be lost when removing the more magical helper methods (like assertSubjectSum(), et al).
Using the existing data/required syntax can be cumbersome in certain cases. By adding support for an optional calling convention (a function signature), duplication can be reduced. While the data/required signature will remain the default behavior (which will appear in the docstring when introspected) a second, optional signature will also be supported: