leapp.topics package¶
Module contents¶
-
class
leapp.topics.
DialogTopic
¶ Bases:
leapp.topics.Topic
A special topic for dialogs shown to user during workflow execution.
-
messages
= (<class 'leapp.models.DialogModel'>,)¶
-
name
= 'dialog_topic'¶
-
serialize
()¶
-
-
class
leapp.topics.
ErrorTopic
¶ Bases:
leapp.topics.Topic
A special topic for errors during the execution.
-
messages
= (<class 'leapp.models.ErrorModel'>,)¶
-
name
= 'errors'¶
-
serialize
()¶
-
-
class
leapp.topics.
ReportTopic
¶ Bases:
leapp.topics.Topic
A special topic for reporting purposes.
-
messages
= (<class 'leapp.reporting.Report'>,)¶
-
name
= 'report_topic'¶
-
serialize
()¶
-
-
class
leapp.topics.
Topic
¶ Bases:
leapp.topics.with_meta_base_object_TopicMeta
Base class for all topics
-
messages
= ()¶ Tuple of
leapp.models.Model
derived 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
¶ Bases:
type
Meta class for the registration of topics
-
leapp.topics.
get_topics
()¶ Returns: All registered leapp.topics.Topic
derived classes