p2pfl.stages.stage_factory moduleΒΆ

Stage factory.

class p2pfl.stages.stage_factory.StageFactory[source]ΒΆ

Bases: object

Factory class to create stages. Main goal: Avoid cyclic imports.

static get_stage(stage_name)[source]ΒΆ

Return the stage class.

Return type:

Type[Stage]