nvflare.apis package¶
Subpackages¶
- nvflare.apis.impl package
- Submodules
- Module contents
- nvflare.apis.utils package
Submodules¶
- nvflare.apis.analytix module
- nvflare.apis.app_validation module
- nvflare.apis.aux_spec module
- nvflare.apis.client module
- nvflare.apis.client_engine_spec module
- nvflare.apis.controller_spec module
ClientTask
ControllerSpec
ControllerSpec.abort_all_tasks()
ControllerSpec.abort_task()
ControllerSpec.broadcast()
ControllerSpec.broadcast_and_wait()
ControllerSpec.broadcast_forever()
ControllerSpec.cancel_all_tasks()
ControllerSpec.cancel_task()
ControllerSpec.get_num_standing_tasks()
ControllerSpec.process_result_of_unknown_task()
ControllerSpec.relay()
ControllerSpec.relay_and_wait()
ControllerSpec.send()
ControllerSpec.send_and_wait()
ControllerSpec.start_controller()
ControllerSpec.stop_controller()
SendOrder
Task
TaskCompletionStatus
after_task_sent_cb_signature()
before_task_sent_cb_signature()
result_received_cb_signature()
task_done_cb_signature()
- nvflare.apis.dxo module
- nvflare.apis.event_type module
EventType
EventType.ABORT_TASK
EventType.ABOUT_TO_END_RUN
EventType.ABOUT_TO_START_RUN
EventType.AFTER_PROCESS_SUBMISSION
EventType.AFTER_PULL_TASK
EventType.AFTER_SEND_TASK_RESULT
EventType.AFTER_TASK_DATA_FILTER
EventType.AFTER_TASK_EXECUTION
EventType.AFTER_TASK_RESULT_FILTER
EventType.BEFORE_PROCESS_SUBMISSION
EventType.BEFORE_PULL_TASK
EventType.BEFORE_SEND_TASK_RESULT
EventType.BEFORE_TASK_DATA_FILTER
EventType.BEFORE_TASK_EXECUTION
EventType.BEFORE_TASK_RESULT_FILTER
EventType.CRITICAL_LOG_AVAILABLE
EventType.DEBUG_LOG_AVAILABLE
EventType.END_RUN
EventType.END_WORKFLOW
EventType.ERROR_LOG_AVAILABLE
EventType.EXCEPTION_LOG_AVAILABLE
EventType.FATAL_SYSTEM_ERROR
EventType.FATAL_TASK_ERROR
EventType.INFO_LOG_AVAILABLE
EventType.JOB_ABORTED
EventType.JOB_CANCELLED
EventType.JOB_COMPLETED
EventType.JOB_DEPLOYED
EventType.JOB_STARTED
EventType.START_RUN
EventType.START_WORKFLOW
EventType.SYSTEM_END
EventType.SYSTEM_START
EventType.WARNING_LOG_AVAILABLE
- nvflare.apis.executor module
- nvflare.apis.filter module
- nvflare.apis.fl_component module
- nvflare.apis.fl_constant module
AdminCommandNames
AdminCommandNames.ABORT
AdminCommandNames.ABORT_JOB
AdminCommandNames.ABORT_TASK
AdminCommandNames.AUX_COMMAND
AdminCommandNames.CHECK_STATUS
AdminCommandNames.CLONE_JOB
AdminCommandNames.DELETE_JOB
AdminCommandNames.DELETE_WORKSPACE
AdminCommandNames.DEPLOY_APP
AdminCommandNames.DOWNLOAD_JOB
AdminCommandNames.LIST_JOBS
AdminCommandNames.REMOVE_CLIENT
AdminCommandNames.RESET_ERRORS
AdminCommandNames.RESTART
AdminCommandNames.SET_TIMEOUT
AdminCommandNames.SHOW_ERRORS
AdminCommandNames.SHOW_STATS
AdminCommandNames.SHUTDOWN
AdminCommandNames.START_APP
AdminCommandNames.SUBMIT_JOB
EventScope
FLContextKey
FLContextKey.APP_ROOT
FLContextKey.ARGS
FLContextKey.CLIENT_NAME
FLContextKey.CURRENT_JOB_ID
FLContextKey.CURRENT_RUN
FLContextKey.EVENT_DATA
FLContextKey.EVENT_ID
FLContextKey.EVENT_ORIGIN
FLContextKey.EVENT_ORIGIN_SITE
FLContextKey.EVENT_SCOPE
FLContextKey.FROM_RANK_NUMBER
FLContextKey.IS_CLIENT_TASK_RESEND
FLContextKey.JOB_INFO
FLContextKey.JOB_RUN_NUMBER
FLContextKey.NUM_OF_PROCESSES
FLContextKey.PEER_CONTEXT
FLContextKey.RANK_NUMBER
FLContextKey.REPLY
FLContextKey.RUNNER
FLContextKey.RUN_ABORT_SIGNAL
FLContextKey.SECURE_MODE
FLContextKey.SHAREABLE
FLContextKey.SP_END_POINT
FLContextKey.TASK_DATA
FLContextKey.TASK_ID
FLContextKey.TASK_NAME
FLContextKey.TASK_RESULT
FLContextKey.WORKFLOW
FLContextKey.WORKSPACE_OBJECT
FLContextKey.WORKSPACE_ROOT
FedEventHeader
LogMessageTag
MachineStatus
NonSerializableKeys
ReservedKey
ReservedKey.APP_ROOT
ReservedKey.ARGS
ReservedKey.AUX_RUNNER
ReservedKey.CLIENT_NAME
ReservedKey.COOKIE_JAR
ReservedKey.CURRENT_JOB_ID
ReservedKey.ENGINE
ReservedKey.EVENT_DATA
ReservedKey.EVENT_ID
ReservedKey.EVENT_ORIGIN
ReservedKey.EVENT_ORIGIN_SITE
ReservedKey.EVENT_SCOPE
ReservedKey.FROM_RANK_NUMBER
ReservedKey.IDENTITY_NAME
ReservedKey.IS_RESEND
ReservedKey.JOB_INFO
ReservedKey.JOB_RUN_NUMBER
ReservedKey.MANAGER
ReservedKey.NUM_OF_PROCESSES
ReservedKey.PEER_CTX
ReservedKey.RANK_NUMBER
ReservedKey.RC
ReservedKey.REPLY
ReservedKey.RUNNER
ReservedKey.RUN_ABORT_SIGNAL
ReservedKey.RUN_NUM
ReservedKey.SECURE_MODE
ReservedKey.SHAREABLE
ReservedKey.SHARED_FL_CONTEXT
ReservedKey.SP_END_POINT
ReservedKey.TASK_DATA
ReservedKey.TASK_ID
ReservedKey.TASK_NAME
ReservedKey.TASK_RESULT
ReservedKey.WORKFLOW
ReservedKey.WORKSPACE_OBJECT
ReservedKey.WORKSPACE_ROOT
ReservedTopic
ReturnCode
ReturnCode.BAD_PEER_CONTEXT
ReturnCode.BAD_REQUEST_DATA
ReturnCode.BAD_TASK_DATA
ReturnCode.COMMUNICATION_ERROR
ReturnCode.EMPTY_RESULT
ReturnCode.ERROR
ReturnCode.EXECUTION_EXCEPTION
ReturnCode.EXECUTION_RESULT_ERROR
ReturnCode.HANDLER_EXCEPTION
ReturnCode.MISSING_PEER_CONTEXT
ReturnCode.MODEL_UNRECOGNIZED
ReturnCode.OK
ReturnCode.RUN_MISMATCH
ReturnCode.SERVER_NOT_READY
ReturnCode.TASK_ABORTED
ReturnCode.TASK_DATA_FILTER_ERROR
ReturnCode.TASK_RESULT_FILTER_ERROR
ReturnCode.TASK_UNKNOWN
ReturnCode.TASK_UNSUPPORTED
ReturnCode.TOPIC_UNKNOWN
ReturnCode.VALIDATE_TYPE_UNKNOWN
RunProcessKey
ServerCommandKey
ServerCommandKey.AUX_REPLY
ServerCommandKey.CLIENTS
ServerCommandKey.COLLECTOR
ServerCommandKey.COMMAND
ServerCommandKey.DATA
ServerCommandKey.FL_CLIENT
ServerCommandKey.FL_CONTEXT
ServerCommandKey.JOB_ID
ServerCommandKey.PEER_FL_CONTEXT
ServerCommandKey.SHAREABLE
ServerCommandKey.TASK_ID
ServerCommandKey.TASK_NAME
ServerCommandKey.TOPIC
ServerCommandNames
SnapshotKey
SystemComponents
SystemComponents.CANCEL_RESOURCE_PROCESSOR
SystemComponents.CHECK_RESOURCE_PROCESSOR
SystemComponents.CLIENT_RUNNER
SystemComponents.JOB_MANAGER
SystemComponents.JOB_RUNNER
SystemComponents.JOB_SCHEDULER
SystemComponents.RESOURCE_CONSUMER
SystemComponents.RESOURCE_MANAGER
SystemComponents.SERVER_RUNNER
WorkspaceConstants
- nvflare.apis.fl_context module
FLContext
FLContext.MASK_PRIVATE
FLContext.MASK_STICKY
FLContext.clone_sticky()
FLContext.get_all_public_props()
FLContext.get_engine()
FLContext.get_identity_name()
FLContext.get_job_id()
FLContext.get_peer_context()
FLContext.get_prop()
FLContext.get_prop_detail()
FLContext.get_run_abort_signal()
FLContext.public_key_exists()
FLContext.remove_prop()
FLContext.set_peer_context()
FLContext.set_prop()
FLContext.set_public_props()
FLContext.sync_sticky()
FLContextManager
- nvflare.apis.fl_exception module
- nvflare.apis.fl_snapshot module
- nvflare.apis.job_def module
Job
JobDataKey
JobMetaKey
JobMetaKey.APPROVALS
JobMetaKey.CONTENT_LOCATION
JobMetaKey.DEPLOY_MAP
JobMetaKey.DURATION
JobMetaKey.JOB_FOLDER_NAME
JobMetaKey.JOB_ID
JobMetaKey.JOB_NAME
JobMetaKey.MANDATORY_CLIENTS
JobMetaKey.MIN_CLIENTS
JobMetaKey.RESOURCE_SPEC
JobMetaKey.RESULT_LOCATION
JobMetaKey.START_TIME
JobMetaKey.STATUS
JobMetaKey.SUBMIT_TIME
JobMetaKey.SUBMIT_TIME_ISO
RunStatus
job_from_meta()
- nvflare.apis.job_def_manager_spec module
JobDefManagerSpec
JobDefManagerSpec.create()
JobDefManagerSpec.delete()
JobDefManagerSpec.get_all_jobs()
JobDefManagerSpec.get_app()
JobDefManagerSpec.get_apps()
JobDefManagerSpec.get_content()
JobDefManagerSpec.get_job()
JobDefManagerSpec.get_job_data()
JobDefManagerSpec.get_jobs_by_status()
JobDefManagerSpec.get_jobs_waiting_for_review()
JobDefManagerSpec.save_workspace()
JobDefManagerSpec.set_approval()
JobDefManagerSpec.set_status()
JobDefManagerSpec.update_meta()
- nvflare.apis.job_scheduler_spec module
- nvflare.apis.overseer_spec module
- nvflare.apis.persistable module
- nvflare.apis.resource_manager_spec module
- nvflare.apis.responder module
- nvflare.apis.server_engine_spec module
ServerEngineSpec
ServerEngineSpec.cancel_client_resources()
ServerEngineSpec.check_client_resources()
ServerEngineSpec.fire_and_forget_aux_request()
ServerEngineSpec.fire_event()
ServerEngineSpec.get_client_name_from_token()
ServerEngineSpec.get_clients()
ServerEngineSpec.get_component()
ServerEngineSpec.get_widget()
ServerEngineSpec.get_workspace()
ServerEngineSpec.new_context()
ServerEngineSpec.persist_components()
ServerEngineSpec.register_aux_message_handler()
ServerEngineSpec.restore_components()
ServerEngineSpec.send_aux_request()
ServerEngineSpec.start_client_job()
ServerEngineSpec.sync_clients_from_main_process()
ServerEngineSpec.validate_clients()
- nvflare.apis.shareable module
ReservedHeaderKey
Shareable
Shareable.add_cookie()
Shareable.from_bytes()
Shareable.get_cookie()
Shareable.get_cookie_jar()
Shareable.get_header()
Shareable.get_peer_prop()
Shareable.get_peer_props()
Shareable.get_return_code()
Shareable.set_cookie_jar()
Shareable.set_header()
Shareable.set_peer_props()
Shareable.set_return_code()
Shareable.to_bytes()
make_reply()
- nvflare.apis.signal module
- nvflare.apis.state_persistor module
- nvflare.apis.storage module
- nvflare.apis.workspace module