nvflare.edge.web.models.base_model module

class BaseModel[source]

Bases: dict

Dictionary based model

static check_keys(d: dict, keys: str | List[str]) str[source]
from_query_string(qs: str)[source]
get_device_id() str | None[source]
to_query_string() str[source]
class EdgeProtoKey[source]

Bases: object

CAPABILITIES = 'capabilities'
COOKIE = 'cookie'
DEVICE_ID = 'device_id'
DEVICE_INFO = 'device_info'
JOB_ID = 'job_id'
JOB_NAME = 'job_name'
METHODS = 'methods'
RESULT = 'result'
STATUS = 'status'
TASK_ID = 'task_id'
TASK_NAME = 'task_name'
USER_INFO = 'user_info'