nvflare.apis.client_engine_spec module¶
- class ClientEngineSpec[source]¶
Bases:
ABC
- abstract get_task_assignment(fl_ctx: FLContext) TaskAssignment [source]¶
- class TaskAssignment(name: str, task_id: str, data: Shareable)[source]¶
Bases:
object
Init TaskAssignment.
Keeps track of information about the assignment of a task, including the time that it was created after being fetched by the Client Run Manager.
- Parameters
name – task name
task_id – task id
data – the Shareable data for the task assignment