nvflare.private.privacy_manager module

class PrivacyManager(scopes: None | List[Scope], default_scope_name: None | str, components: None | dict)[source]

Bases: object

get_scope(name: None | str)[source]
is_policy_defined()[source]
class PrivacyService[source]

Bases: object

static get_manager()[source]
static get_scope(name: None | str)[source]
static initialize(manager: PrivacyManager)[source]
static is_policy_defined()[source]
static is_scope_allowed(scope_name: str)[source]

Check whether the specified scope is allowed

Parameters:

scope_name – scope to be checked

Returns:

manager = None
class Scope[source]

Bases: object

add_task_data_filter(f: Filter)[source]
add_task_result_filter(f: Filter)[source]
set_name(name: str)[source]
set_props(props: dict)[source]