leapp.topics package
Module contents
- class leapp.topics.DialogTopic
Bases:
TopicA special topic for dialogs shown to user during workflow execution.
- messages = (<class 'leapp.models.DialogModel'>,)
Tuple of
leapp.models.Modelderived classes that are using this topic are automatically added to this variable.
- name = 'dialog_topic'
Name of the topic in snake case
- class leapp.topics.ErrorTopic
Bases:
TopicA special topic for errors during the execution.
- messages = (<class 'leapp.models.ErrorModel'>,)
Tuple of
leapp.models.Modelderived classes that are using this topic are automatically added to this variable.
- name = 'errors'
Name of the topic in snake case
- class leapp.topics.ReportTopic
Bases:
TopicA special topic for reporting purposes.
- messages = (<class 'leapp.reporting.Report'>,)
Tuple of
leapp.models.Modelderived classes that are using this topic are automatically added to this variable.
- name = 'report_topic'
Name of the topic in snake case
- class leapp.topics.Topic
Bases:
with_meta_base_object_TopicMetaBase class for all topics
- messages = ()
Tuple of
leapp.models.Modelderived classes that are using this topic are automatically added to this variable.
- name = None
Name of the topic in snake case
- classmethod serialize()
- class leapp.topics.TopicMeta(name, bases, attrs)
Bases:
typeMeta class for the registration of topics
- leapp.topics.get_topics()
- Returns:
All registered
leapp.topics.Topicderived classes