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.
16 lines
301 B
16 lines
301 B
9 months ago
|
from leapp.models import fields, Model
|
||
|
from leapp.topics import SystemFactsTopic
|
||
|
|
||
|
|
||
|
class MemoryInfo(Model):
|
||
|
"""
|
||
|
Represents information about available memory (KiB)
|
||
|
"""
|
||
|
|
||
|
topic = SystemFactsTopic
|
||
|
|
||
|
mem_total = fields.Nullable(fields.Integer())
|
||
|
"""
|
||
|
Total memory in KiB
|
||
|
"""
|