From 27362c46bd58b362f873a64f16bb5cfb184781ce Mon Sep 17 00:00:00 2001 From: Deimos Date: Fri, 26 Oct 2018 16:10:52 -0600 Subject: [PATCH] Increase max length for comment label reasons Previously this was defaulting to a max of 200 chars, which is quite short. --- tildes/tildes/schemas/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tildes/tildes/schemas/comment.py b/tildes/tildes/schemas/comment.py index d181aec..0562276 100644 --- a/tildes/tildes/schemas/comment.py +++ b/tildes/tildes/schemas/comment.py @@ -25,7 +25,7 @@ class CommentLabelSchema(Schema): """Marshmallow schema for comment labels.""" name = Enum(CommentLabelOption) - reason = SimpleString(missing=None) + reason = SimpleString(max_length=1000, missing=None) class Meta: """Always use strict checking so error handlers are invoked."""