Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Object a bootstrapfield and share the logic between Object valid…
…ation and the public functions get[Schema]ValidationErrors. Fixes #57 This makes Object bind all fields (not just choices) before validation. This fixes #17 in a backwards compatible way. Binding all attributes, not just Choices, reduced the dependencies of Object and facilitated making it a bootstrap field. Making it a bootstrap field in turn let us use it in more places in interfaces.py, which fixes #13. Switch from just repeating attribute names in interfaces.py to a real __all__ attribute that linters can warn about. Change ..autoclass:: in api.rst to ..autointerface:: so we get the actual member documentation and not lots of warnings about missing __mro__. (This is unrelated, I was just tired of the warnings.)
- Loading branch information
Showing
9 changed files
with
602 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.