Verified Commit 5217d57d authored by Peter Stanko's avatar Peter Stanko
Browse files

Faculty id attribute in the schema

parent ae5cd1b6
Pipeline #31524 passed with stage
in 7 minutes and 34 seconds
......@@ -129,6 +129,7 @@ class CourseSchema(BaseSchema, NamedSchema, Schema):
"""Course Schema
"""
state = EnumField(CourseState, by_value=True)
faculty_id = fields.Int(required=False, allow_none=True)
roles = NESTED['roles']
groups = NESTED['groups']
projects = NESTED['projects']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment