leapp-repository/repos/system_upgrade/common/models/repositoriessetuptasks.py

16 lines
527 B

11 months ago
from leapp.models import fields, Model
from leapp.topics import SystemFactsTopic
class RepositoriesSetupTasks(Model):
"""
Information about repositories that must be managed in order to complete upgrade process.
'to_enable' field consists of a list of repositories that should be enabled in order to complete
upgrade process. This information should be processed by an actor dedicated to manage
repositories.
"""
topic = SystemFactsTopic
to_enable = fields.List(fields.String(), default=[])