Passed
Push — master ( f1fa6b...b933ea )
by Jochen
02:27
created

byceps.blueprints.api.tourney.match.comments.schemas   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 0
1
"""
2
byceps.blueprints.api.tourney.match.schemas
3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
5
:Copyright: 2006-2019 Jochen Kupperschmidt
6
:License: Modified BSD, see LICENSE for details.
7
"""
8
9
from marshmallow import fields, Schema
10
11
12
class CreateMatchCommentRequest(Schema):
13
    match_id = fields.UUID()
14
    creator_id = fields.UUID()
15
    body = fields.Str()
16
17
18
class ModerateMatchCommentRequest(Schema):
19
    initiator_id = fields.UUID()
20