first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
from marshmallow import Schema, fields
|
||||
|
||||
|
||||
class SkillSchema(Schema):
|
||||
id = fields.Integer(dump_only=True)
|
||||
name = fields.String(required=True)
|
||||
version = fields.String()
|
||||
description = fields.String(allow_none=True)
|
||||
author = fields.String(allow_none=True)
|
||||
repository = fields.String(allow_none=True)
|
||||
config = fields.Dict(allow_none=True)
|
||||
is_installed = fields.Boolean()
|
||||
is_active = fields.Boolean()
|
||||
created_at = fields.DateTime(dump_only=True)
|
||||
updated_at = fields.DateTime(dump_only=True)
|
||||
Reference in New Issue
Block a user