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.

Parameters:

stage_name (str)

Return type:

type[Stage]