mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-07 04:18:26 -04:00
Remove outdated comment
Added in January[1] and (for better or worse) it got done.
1. 49e98c21e7)
This commit is contained in:
@@ -64,13 +64,6 @@ def _validate_datetime_not_in_past(dte, msg="Date cannot be in the past"):
|
|||||||
raise ValidationError(msg)
|
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):
|
class BaseSchema(ma.ModelSchema):
|
||||||
|
|
||||||
def __init__(self, load_json=False, *args, **kwargs):
|
def __init__(self, load_json=False, *args, **kwargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user