thoth.adviser.wraps package

Submodules

thoth.adviser.wraps.no_onservation module

A wrap that notifies about missing observations.

class thoth.adviser.wraps.no_onservation.NoObservationWrap(*, configuration: Dict[str, Any] = NOTHING, name: str = None)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that notifies about missing observations.

run(state: thoth.adviser.state.State) → None[source]

Check for no observations made on the given state.

classmethod should_include(builder_context: PipelineBuilderContext)[source]

Include this wrap in adviser, once.

Module contents

Wrap units implemented in adviser.

class thoth.adviser.wraps.NoObservationWrap(*, configuration: Dict[str, Any] = NOTHING, name: str = None)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that notifies about missing observations.

run(state: thoth.adviser.state.State) → None[source]

Check for no observations made on the given state.

classmethod should_include(builder_context: PipelineBuilderContext)[source]

Include this wrap in adviser, once.