leapp.tags package

Module contents

class leapp.tags.DisabledTag

Bases: leapp.tags.Tag

actors = ()
name = 'disabled'
serialize()
class leapp.tags.ExperimentalTag

Bases: leapp.tags.Tag

actors = ()
name = 'experimental'
serialize()
class leapp.tags.Tag

Bases: leapp.tags.with_meta_base_object_TagMeta

Tag is the base class for all Tags. Tags are used as filtering mechanism for actors to be loaded during workflow executions. Phases do use tags to filter actors according to their tags.

Special Tag class attributes:

Tag here refers to the derived class of Tag

Tag.Common:
Dynamically created class type that designates actors to be executed in the main stage during workflow phases. Using common includes this actor in any workflow, which means the that any workflow tag filter will be ignored if this tag matches.
Tag.Before:
Dynamically created class type that designates actors to be executed in the before stage during workflow phases.
Tag.Before.Common:
Dynamically created class type that designates actors to be executed in the before stage during workflow phases. Using common includes this actor in any workflow, which means the that any workflow tag filter will be ignored if this tag matches.
Tag.After:
Dynamically created class type that designates actors to be executed in the after stage during workflow phases.
Tag.After.Common:
Dynamically created class type that designates actors to be executed in the after stage during workflow phases. Using common includes this actor in any workflow, which means the that any workflow tag filter will be ignored if this tag matches.
actors = ()

Tuple of all registered actors using this tag

name = None

Name of the Tag in snake case

classmethod serialize()
class leapp.tags.TagMeta

Bases: type

Meta class for the registration of tags

This meta class adds dynamically Common, Before, Before.Common, After and After.Common attributes to the tag class. For more information see leapp.tags.Tag

leapp.tags.get_tags()
Returns:All registered leapp.tags.Tag derived classes