-
-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make ManifestSchema compatible with marshmallow >= 3
Instead of suppressing the exception, checking for an error and raising a PlatformIOException, directly raise the PlatformIOException from handle_error(). Add a small wrapper for Schema.load() to cover the the return value difference ((data, error) tuple vs data only). For more information, see https://marshmallow.readthedocs.io/en/stable/upgrading.html
- Loading branch information
1 parent
4f1ccfe
commit eb42f2c
Showing
3 changed files
with
20 additions
and
12 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