nvflare.ha.dummy_overseer_agent module

class DummyOverseerAgent(sp_end_point, heartbeat_interval=5)[source]

Bases: OverseerAgent

SSID = 'ebc6125d-0a56-4688-9b08-355fe9e4d61a'
end()[source]
get_primary_sp() SP[source]

Return current primary service provider. The PSP is static in the dummy agent.

initialize(fl_ctx: FLContext)[source]
is_shutdown() bool[source]

Return whether the agent receives a shutdown request.

pause()[source]
promote_sp(sp_end_point, headers=None) Response[source]
resume()[source]
set_secure_context(ca_path: str, cert_path: str = '', prv_key_path: str = '')[source]
set_state(state) Response[source]
start(update_callback=None, conditional_cb=False)[source]