nvflare.security.study_registry module

class StudyRegistry(studies_config: dict)[source]

Bases: object

FORMAT_VERSION = '1.0'
get_site_orgs(study: str) → dict | None[source]
get_sites(study: str) → set | None[source]
get_studies() → Dict[str, dict][source]
get_study(study: str) → dict | None[source]
has_org(study: str, org: str) → bool[source]
has_study(study: str) → bool[source]
has_user(user_name: str, study: str) → bool[source]
class StudyRegistryService[source]

Bases: object

static acquire_lock(timeout: float) → bool[source]
static get_registry() → StudyRegistry | None[source]
static initialize(registry: StudyRegistry | None)[source]
static release_lock()[source]
static reset()[source]