From 316e4b9ea62c0e8ba0be1a4899392857438fc38c Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 31 Aug 2016 10:39:25 +0100 Subject: [PATCH] Remove outdated comment Added in January[1] and (for better or worse) it got done. 1. 49e98c21e74e4bdcb8ad63223a46170d05f9182d) --- app/schemas.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/schemas.py b/app/schemas.py index a053ab57c..673983114 100644 --- a/app/schemas.py +++ b/app/schemas.py @@ -64,13 +64,6 @@ def _validate_datetime_not_in_past(dte, msg="Date cannot be in the past"): raise ValidationError(msg) -# TODO I think marshmallow provides a better integration and error handling. -# Would be better to replace functionality in dao with the marshmallow supported -# functionality. -# http://marshmallow.readthedocs.org/en/latest/api_reference.html -# http://marshmallow.readthedocs.org/en/latest/extending.html - - class BaseSchema(ma.ModelSchema): def __init__(self, load_json=False, *args, **kwargs):