nvflare.private.fed.server.job_meta_validator module

class JobMetaValidator[source]

Bases: object

Job validator

validate(job_name: str, job_data: bytes) Tuple[bool, str, dict][source]

Validate job

Parameters
  • job_name (str) – Job name

  • job_data (bytes) – Job ZIP data

Returns

(is_valid, error_message, meta)

Return type

Tuple[bool, str, dict]