nvflare.apis.app_validation module
- class AppValidator[source]
Bases:
ABC- abstract validate(app_folder: str) tuple[str, dict][source]
Validate and/or clean the content of specified application folder.
- Parameters:
app_folder – path to the app folder to be validated
- Returns:
A tuple of (error_msg, app_validation_props)
error_msg contains error message if failed to pass; otherwise an empty string. app_validation_props is a dict of properties of the app.
For example: the result could be (“”, {“byoc”: True})