nvflare.fuel.utils.fsm module

class FSM(name: str)[source]

Bases: object

STATE_NAME_EXIT = '__exit__'
add_state(state: State)[source]
execute(**kwargs) State[source]
get_current_state()[source]
get_prop(name, default=None)[source]
set_current_state(name: str)[source]
set_prop(name, value)[source]
class State(name: str)[source]

Bases: object

enter()[source]
execute(**kwargs)[source]
leave()[source]