gnes.flow.helper module

class gnes.flow.helper.BuildLevel[source]

Bases: gnes.service.base.BetterEnum

An enumeration.

EMPTY = 0
GRAPH = 1
RUNTIME = 2
exception gnes.flow.helper.FlowBuildLevelMismatch[source]

Bases: ValueError

Exception when required level is higher than the current build level

exception gnes.flow.helper.FlowIncompleteError[source]

Bases: ValueError

Exception when the flow missing some important component to run

exception gnes.flow.helper.FlowMissingNode[source]

Bases: ValueError

Exception when the topology is ambiguous

exception gnes.flow.helper.FlowTopologyError[source]

Bases: ValueError

Exception when the topology is ambiguous

class gnes.flow.helper.Service[source]

Bases: gnes.service.base.BetterEnum

An enumeration.

Encoder = 1
Frontend = 0
Indexer = 3
Preprocessor = 4
Router = 2
gnes.flow.helper.build_required(required_level)[source]