Created
August 7, 2020 00:14
-
-
Save abrookins/b6e476e7d3fbd87d54560ba2ba622f2c to your computer and use it in GitHub Desktop.
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
In [13]: SiteStatsSchema().load({"meter_reading_count": "hey"}) | |
[…] | |
ValidationError: {'meter_reading_count': ['Not a valid integer.'], 'min_wh_generated': ['Missing data for required field.'], 'last_reporting_time': ['Missing data for required field.'], 'max_wh_generated': ['Missing data for required field.'], 'max_capacity': ['Missing data for required field.']} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment