You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
334 B
17 lines
334 B
from leapp.models import fields, Model
|
|
from leapp.topics import SystemFactsTopic
|
|
|
|
|
|
class Group(Model):
|
|
topic = SystemFactsTopic
|
|
|
|
name = fields.String()
|
|
gid = fields.Integer()
|
|
members = fields.List(fields.String())
|
|
|
|
|
|
class GroupsFacts(Model):
|
|
topic = SystemFactsTopic
|
|
|
|
groups = fields.List(fields.Model(Group))
|