In my web application's backend code (written in Python using Flask and Marshmallow), I first call Marshmallow's Schema.validate() and if I get a dictionary of errors, I send the errors to the Frontend.
If there are no validation errors, I proceed to call Schema.load(). But all the custom validation functions get called once again by Marshmallow, perhaps because it tries to validate the Schema again as part of the load process.
Is there a way I can tell Schema.load() that the data is already validated and it need not trigger Schema.validate() again?
And if there is no way to skip the Schema.validate() during Schema.load(), then if I intend to load the Schema eventually, is there any benefit to call Schema.validate() explicitly; I may as well call Schema.load() directly and catch any ValidationErrors.