diff options
author | 2021-03-16 09:28:24 +0200 | |
---|---|---|
committer | 2021-03-16 09:28:24 +0200 | |
commit | 8731e7dc3a0a25bdf8e66e00b74fb73460089250 (patch) | |
tree | 0267fb699c686a006d82a64979f00f94fcd49ddc | |
parent | Use value of enum member instead of member itself (diff) |
Split public fields constant to multiple lines
-rw-r--r-- | backend/models/form.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/backend/models/form.py b/backend/models/form.py index edeb936..8780aa7 100644 --- a/backend/models/form.py +++ b/backend/models/form.py @@ -7,7 +7,15 @@ from pydantic.error_wrappers import ErrorWrapper, ValidationError from backend.constants import FormFeatures, WebHook from .question import Question -PUBLIC_FIELDS = ["id", "features", "questions", "name", "description", "submitted_text", "discord_role"] +PUBLIC_FIELDS = [ + "id", + "features", + "questions", + "name", + "description", + "submitted_text", + "discord_role" +] class _WebHook(BaseModel): |