NVIDIA Clara Train 3.1
3.1

fed_learn.security package

class Action

Bases: object

BYOC = 'byoc'
CUSTOM_DATALIST = 'custom_datalist'
DEPLOY = 'deploy'
OPERATE = 'operate'
TRAIN = 'train'
UPLOAD = 'upload'
VIEW = 'view'
class FLAuthorizer

Bases: dlmed.sec.authz.Authorizer

authorize(ctx: fed_learn.security.authz.FLAuthzContext)
class FLAuthzContext(user_name: str, site_names: [ ], actions: [ ] )

Bases: dlmed.sec.authz.AuthzContext

static new_authz_context(site_names: [ ], actions: [ ] )
class Right

Bases: object

DEPLOY_ALL = 'deploy_all'
DEPLOY_SELF = 'deploy_self'
OPERATE_ALL = 'operate_all'
OPERATE_SELF = 'operate_self'
TRAIN_ALL = 'train_all'
TRAIN_SELF = 'train_self'
UPLOAD_MMAR = 'upload_mmar'
VIEW_ALL = 'view_all'
VIEW_SELF = 'view_self'
class Rule

Bases: object

ALLOW_BYOC = 'allow_byoc'
ALLOW_CUSTOM_DATALIST = 'allow_custom_datalist'
action_checker_signature(user_name, site_name)
© Copyright 2020, NVIDIA. Last updated on Feb 2, 2023.