utils.blockers module

class utils.blockers.BZ(bug_id, **kwargs)[source]

Bases: utils.blockers.Blocker

blocks[source]
bugzilla_bug[source]
data[source]
get_bug_url()[source]
class utils.blockers.Blocker(**kwargs)[source]

Bases: object

Base class for all blockers

REQUIRED THING! Any subclass’ constructors must accept kwargs and after POPping the values required for the blocker’s operation, call to ``super` with **kwargs must be done! Failing to do this will render some of the functionality disabled ;).

classmethod all_blocker_engines()[source]

Return mapping of name:class of all the blocker engines in this module.

Having this as a separate function will later enable to scatter the engines across modules in case of extraction into a separate library.

blocks = False
kwargs = {}
classmethod parse(blocker)[source]

Create a blocker object from some representation

class utils.blockers.GH(description, **kwargs)[source]

Bases: utils.blockers.Blocker

DEFAULT_REPOSITORY = 'foo/bar'
blocks[source]
data[source]
github = <github.MainClass.Github object at 0x7f4d1e74ba10>[source]
repo[source]